Skip to content

Commit

Permalink
Minor Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aviralmishra3 committed Jun 27, 2023
1 parent db712e6 commit a4a346c
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 30 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_api_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 @@ -155,7 +155,7 @@ class _NewProcessScreenContentState extends State<NewProcessScreenContent> {
// ],
// =======
return context.watch<GlobalProvider>().newProcessTabIndex == 1
?Card(
? Card(
margin: const EdgeInsets.all(14),
child: Padding(
padding: const EdgeInsets.all(16),
Expand All @@ -167,7 +167,7 @@ class _NewProcessScreenContentState extends State<NewProcessScreenContent> {
),
),
),
)
)
: Column(
children: [
...widget.screen.fields!.map(
Expand Down
70 changes: 51 additions & 19 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ packages:
dependency: transitive
description:
name: async
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0
url: "https://pub.dev"
source: hosted
version: "2.11.0"
version: "2.10.0"
boolean_selector:
dependency: transitive
description:
Expand Down Expand Up @@ -109,10 +109,10 @@ packages:
dependency: transitive
description:
name: characters
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c
url: "https://pub.dev"
source: hosted
version: "1.3.0"
version: "1.2.1"
checked_yaml:
dependency: transitive
description:
Expand Down Expand Up @@ -141,10 +141,10 @@ packages:
dependency: transitive
description:
name: collection
sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0
url: "https://pub.dev"
source: hosted
version: "1.17.1"
version: "1.17.0"
connectivity_plus:
dependency: "direct main"
description:
Expand Down 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 @@ -457,10 +481,10 @@ packages:
dependency: "direct main"
description:
name: intl
sha256: a3715e3bc90294e971cb7dc063fbf3cd9ee0ebf8604ffeafabd9e6f16abbdbe6
sha256: "910f85bce16fb5c6f614e117efa303e85a1731bb0081edf3604a2ae6e9a3cc91"
url: "https://pub.dev"
source: hosted
version: "0.18.0"
version: "0.17.0"
io:
dependency: transitive
description:
Expand All @@ -473,10 +497,10 @@ packages:
dependency: transitive
description:
name: js
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7"
url: "https://pub.dev"
source: hosted
version: "0.6.7"
version: "0.6.5"
json_annotation:
dependency: "direct main"
description:
Expand Down Expand Up @@ -513,10 +537,10 @@ packages:
dependency: transitive
description:
name: matcher
sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb"
sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72"
url: "https://pub.dev"
source: hosted
version: "0.12.15"
version: "0.12.13"
material_color_utilities:
dependency: transitive
description:
Expand All @@ -529,10 +553,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42"
url: "https://pub.dev"
source: hosted
version: "1.9.1"
version: "1.8.0"
mime:
dependency: transitive
description:
Expand Down Expand Up @@ -577,10 +601,10 @@ packages:
dependency: transitive
description:
name: path
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b
url: "https://pub.dev"
source: hosted
version: "1.8.3"
version: "1.8.2"
path_parsing:
dependency: transitive
description:
Expand Down Expand Up @@ -910,10 +934,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb
sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206
url: "https://pub.dev"
source: hosted
version: "0.5.1"
version: "0.4.16"
timing:
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 Expand Up @@ -1075,5 +1107,5 @@ packages:
source: hosted
version: "3.1.1"
sdks:
dart: ">=3.0.0-0 <4.0.0"
dart: ">=2.19.6 <3.0.0"
flutter: ">=3.7.0-0"
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 a4a346c

Please sign in to comment.