Skip to content

Commit

Permalink
Merge pull request #19 from Infosys/Temp
Browse files Browse the repository at this point in the history
Minor Changes
  • Loading branch information
Piyush7034 authored Jun 27, 2023
2 parents bb047a3 + a4a346c commit aff6b0d
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 11 deletions.
1 change: 0 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ linter:
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
3 changes: 0 additions & 3 deletions lib/provider/global_provider.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import 'dart:ffi';
import 'dart:io';

import 'package:flutter/widgets.dart';
import 'package:registration_client/model/process.dart';
import 'package:registration_client/pigeon/common_details_pigeon.dart';
Expand Down
4 changes: 2 additions & 2 deletions lib/ui/dashboard/dashboard_tablet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ import 'package:registration_client/provider/global_provider.dart';
import 'package:registration_client/ui/common/tablet_footer.dart';
import 'package:registration_client/ui/common/tablet_header.dart';
import 'package:registration_client/ui/common/tablet_navbar.dart';
import 'package:registration_client/ui/process_ui/new_process.dart';

import '../onboard/onboard_landing_page.dart';
import '../onboard/home_page.dart';


class DashBoardTabletView extends StatelessWidget {
DashBoardTabletView({Key? key}) : super(key: key);

final List<Widget> _pages = [
const OnboardLandingPage(),
const HomePage()
const HomePage(),
];

@override
Expand Down
6 changes: 3 additions & 3 deletions lib/ui/process_ui/widgets/custom_checkbox.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CustomCheckbox extends StatelessWidget {
height: 20,
width: 20,
child: Checkbox(
activeColor: solid_primary,
activeColor: solid_primary,
value: (context
.watch<GlobalProvider>()
.fieldInputValues
Expand All @@ -42,8 +42,8 @@ class CustomCheckbox extends StatelessWidget {
SizedBox(
width: 8,
),
Container(
width: 300.w,
Flexible(
// width: 300.w,
child: Text(
context.read<GlobalProvider>().chooseLanguage(field.label!),
),
Expand Down
4 changes: 2 additions & 2 deletions lib/ui/process_ui/widgets/new_process_screen_content.dart
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class _NewProcessScreenContentState extends State<NewProcessScreenContent> {
@override
Widget build(BuildContext context) {
return context.watch<GlobalProvider>().newProcessTabIndex == 1
?Card(
? Card(
margin: const EdgeInsets.all(14),
child: Padding(
padding: const EdgeInsets.all(16),
Expand All @@ -153,7 +153,7 @@ class _NewProcessScreenContentState extends State<NewProcessScreenContent> {
),
),
),
)
)
: Column(
children: [
...widget.screen.fields!.map(
Expand Down
32 changes: 32 additions & 0 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.0.2"
csslib:
dependency: transitive
description:
name: csslib
sha256: dca126e17a739525457aa0e7b7511e4ee01f1211578b67273852d9c2a5f9fc24
url: "https://pub.dev"
source: hosted
version: "0.15.0"
cupertino_icons:
dependency: "direct main"
description:
Expand Down Expand Up @@ -278,6 +286,14 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_html:
dependency: "direct main"
description:
name: flutter_html
sha256: "8ba9918cf8ea7031f319f225e948f3592ef6b74aabe10fbe3b74d346e02f883a"
url: "https://pub.dev"
source: hosted
version: "0.8.2"
flutter_lints:
dependency: "direct dev"
description:
Expand Down Expand Up @@ -365,6 +381,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.2.0"
html:
dependency: transitive
description:
name: html
sha256: "7da9d216cfd35679c53f73446304ea255b0df4991961ef2aadb07089ec6a87dc"
url: "https://pub.dev"
source: hosted
version: "0.13.4+2"
http:
dependency: transitive
description:
Expand Down Expand Up @@ -994,6 +1018,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.0.6"
utf:
dependency: transitive
description:
name: utf
sha256: fcf596423864d67b6b4199f77d4bfd83e159eb62228ac0ec0781d8613fcd6a5c
url: "https://pub.dev"
source: hosted
version: "0.9.0+5"
vector_graphics:
dependency: transitive
description:
Expand Down
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ dependencies:
responsive_grid_list: ^1.3.2
url_launcher: ^6.1.11
pigeon: ^10.0.1
flutter_html: ^0.8.2

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit aff6b0d

Please sign in to comment.