From c4f65fc246acb6dcde90c8604bc836c29d12623a Mon Sep 17 00:00:00 2001 From: Sumit Bhanushali Date: Wed, 8 Sep 2021 18:17:35 +0530 Subject: [PATCH 1/5] indicator alignment fix --- lib/views/form_view/form_view.dart | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/lib/views/form_view/form_view.dart b/lib/views/form_view/form_view.dart index cd571652..fc3bd93c 100644 --- a/lib/views/form_view/form_view.dart +++ b/lib/views/form_view/form_view.dart @@ -158,18 +158,19 @@ class FormView extends StatelessWidget { horizontal: 20, ), child: Row( + mainAxisAlignment: + MainAxisAlignment.spaceBetween, children: [ - Text( - getTitle(meta.docs[0], docs[0]) ?? "", - style: TextStyle( - fontSize: 16, - fontWeight: FontWeight.bold, - color: FrappePalette.grey[900], + Flexible( + child: Text( + getTitle(meta.docs[0], docs[0]) ?? "", + style: TextStyle( + fontSize: 16, + fontWeight: FontWeight.bold, + color: FrappePalette.grey[900], + ), ), ), - SizedBox( - width: 5, - ), Indicator.buildStatusButton( meta.docs[0].name, status, From 6051aa4aaac9cec66fd74e541d26bfcf945bc04b Mon Sep 17 00:00:00 2001 From: Sumit Bhanushali Date: Wed, 8 Sep 2021 18:17:52 +0530 Subject: [PATCH 2/5] show description as subtitle if available --- lib/form/controls/link_field.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/form/controls/link_field.dart b/lib/form/controls/link_field.dart index adf22f7a..75f1bdb7 100644 --- a/lib/form/controls/link_field.dart +++ b/lib/form/controls/link_field.dart @@ -126,6 +126,11 @@ class _LinkFieldState extends State with Control, ControlInput { title: Text( item["value"], ), + subtitle: item["description"] != null + ? Text( + item["description"], + ) + : null, ); } else { return ListTile( From a7e08699ed411d10149308fb63ad14c42115d9ab Mon Sep 17 00:00:00 2001 From: Sumit Bhanushali Date: Wed, 8 Sep 2021 18:18:04 +0530 Subject: [PATCH 3/5] added handling for now datetime --- lib/form/controls/datetime.dart | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/lib/form/controls/datetime.dart b/lib/form/controls/datetime.dart index 48b66571..71152639 100644 --- a/lib/form/controls/datetime.dart +++ b/lib/form/controls/datetime.dart @@ -22,6 +22,15 @@ class DatetimeField extends StatelessWidget with Control, ControlInput { @override Widget build(BuildContext context) { + DateTime? value; + + if (doc != null) { + if (doc![doctypeField.fieldname] == "Now") { + value = DateTime.now(); + } else { + value = parseDate(doc![doctypeField.fieldname]); + } + } List validators = []; var f = setMandatory(doctypeField); @@ -38,8 +47,7 @@ class DatetimeField extends StatelessWidget with Control, ControlInput { return val.toIso8601String(); }, resetIcon: Icon(Icons.close), - initialValue: - doc != null ? parseDate(doc![doctypeField.fieldname]) : null, + initialValue: value, name: doctypeField.fieldname, decoration: Palette.formFieldDecoration( label: doctypeField.label, From 01746160cfb456966480fb034eb1b4c4f1e15ccf Mon Sep 17 00:00:00 2001 From: Sumit Bhanushali Date: Wed, 15 Sep 2021 23:38:17 +0530 Subject: [PATCH 4/5] flutter version upgrade --- android/app/build.gradle | 2 +- .../dgph | Bin 0 -> 92 bytes .../DKImagePickerController.build/dgph | Bin 0 -> 92 bytes .../DKPhotoGallery-DKPhotoGallery.build/dgph | Bin 0 -> 92 bytes .../DKPhotoGallery.build/dgph | Bin 0 -> 92 bytes .../FLAnimatedImage.build/dgph | Bin 0 -> 92 bytes .../Release-iphonesimulator/FMDB.build/dgph | Bin 0 -> 92 bytes .../Flutter.build/dgph | Bin 0 -> 92 bytes .../OrderedSet.build/dgph | Bin 0 -> 92 bytes .../Pods-Runner.build/dgph | Bin 0 -> 92 bytes .../Reachability.build/dgph | Bin 0 -> 92 bytes .../SDWebImage.build/dgph | Bin 0 -> 92 bytes .../SDWebImageFLPlugin.build/dgph | Bin 0 -> 92 bytes .../Release-iphonesimulator/Toast.build/dgph | Bin 0 -> 92 bytes .../connectivity.build/dgph | Bin 0 -> 92 bytes .../device_info.build/dgph | Bin 0 -> 92 bytes .../file_picker.build/dgph | Bin 0 -> 92 bytes .../dgph | Bin 0 -> 92 bytes .../flutter_downloader.build/dgph | Bin 0 -> 92 bytes .../flutter_inappwebview.build/dgph | Bin 0 -> 92 bytes .../flutter_keyboard_visibility.build/dgph | Bin 0 -> 92 bytes .../flutter_local_notifications.build/dgph | Bin 0 -> 92 bytes .../fluttertoast.build/dgph | Bin 0 -> 92 bytes .../open_file.build/dgph | Bin 0 -> 92 bytes .../path_provider.build/dgph | Bin 0 -> 92 bytes .../permission_handler.build/dgph | Bin 0 -> 92 bytes .../shared_preferences.build/dgph | Bin 0 -> 92 bytes .../sqflite.build/dgph | Bin 0 -> 92 bytes .../url_launcher.build/dgph | Bin 0 -> 92 bytes .../video_player.build/dgph | Bin 0 -> 92 bytes .../wakelock.build/dgph | Bin 0 -> 92 bytes .../webview_flutter.build/dgph | Bin 0 -> 92 bytes lib/form/controls/date.dart | 2 +- lib/form/controls/datetime.dart | 4 +- lib/form/controls/int.dart | 4 +- lib/form/controls/small_text.dart | 2 +- lib/form/controls/text.dart | 2 +- lib/form/controls/time.dart | 2 +- lib/widgets/custom_form_builder_checkbox.dart | 2 +- lib/widgets/form_builder_chips_input.dart | 2 +- lib/widgets/form_builder_typeahead.dart | 4 +- pubspec.lock | 260 ++++++++++-------- pubspec.yaml | 15 +- 43 files changed, 172 insertions(+), 129 deletions(-) create mode 100644 ios/build/Pods.build/Release-iphonesimulator/DKImagePickerController-DKImagePickerController.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/DKImagePickerController.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/DKPhotoGallery-DKPhotoGallery.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/DKPhotoGallery.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/FLAnimatedImage.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/FMDB.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/Flutter.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/OrderedSet.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/Pods-Runner.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/Reachability.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/SDWebImage.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/SDWebImageFLPlugin.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/Toast.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/connectivity.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/device_info.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/file_picker.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/flutter_downloader-FlutterDownloaderDatabase.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/flutter_downloader.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/flutter_inappwebview.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/flutter_keyboard_visibility.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/flutter_local_notifications.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/fluttertoast.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/open_file.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/path_provider.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/permission_handler.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/shared_preferences.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/sqflite.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/url_launcher.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/video_player.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/wakelock.build/dgph create mode 100644 ios/build/Pods.build/Release-iphonesimulator/webview_flutter.build/dgph diff --git a/android/app/build.gradle b/android/app/build.gradle index 8c264eea..19c1a0b0 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -45,7 +45,7 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "io.frappe.frappe_mobile" - minSdkVersion 17 + minSdkVersion 19 targetSdkVersion 30 versionCode flutterVersionCode.toInteger() versionName flutterVersionName diff --git a/ios/build/Pods.build/Release-iphonesimulator/DKImagePickerController-DKImagePickerController.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/DKImagePickerController-DKImagePickerController.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/DKImagePickerController.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/DKImagePickerController.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/DKPhotoGallery-DKPhotoGallery.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/DKPhotoGallery-DKPhotoGallery.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/DKPhotoGallery.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/DKPhotoGallery.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/FLAnimatedImage.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/FLAnimatedImage.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/FMDB.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/FMDB.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/Flutter.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/Flutter.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/OrderedSet.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/OrderedSet.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/Pods-Runner.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/Pods-Runner.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/Reachability.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/Reachability.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/SDWebImage.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/SDWebImage.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/SDWebImageFLPlugin.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/SDWebImageFLPlugin.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/Toast.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/Toast.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/connectivity.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/connectivity.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/device_info.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/device_info.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/file_picker.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/file_picker.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/flutter_downloader-FlutterDownloaderDatabase.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/flutter_downloader-FlutterDownloaderDatabase.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/flutter_downloader.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/flutter_downloader.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/flutter_inappwebview.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/flutter_inappwebview.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/flutter_keyboard_visibility.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/flutter_keyboard_visibility.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/flutter_local_notifications.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/flutter_local_notifications.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/fluttertoast.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/fluttertoast.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/open_file.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/open_file.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/path_provider.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/path_provider.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/permission_handler.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/permission_handler.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/shared_preferences.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/shared_preferences.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/sqflite.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/sqflite.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/url_launcher.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/url_launcher.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/video_player.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/video_player.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/wakelock.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/wakelock.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/ios/build/Pods.build/Release-iphonesimulator/webview_flutter.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/webview_flutter.build/dgph new file mode 100644 index 0000000000000000000000000000000000000000..a0f3f105413e2b06609261e7fe07c4c7d7566a9d GIT binary patch literal 92 zcmZ>95AZP5Gce)yD$P?+uuw2EFf!yYG_f);ure}WXJBB|XJBLvElw>eW?*7VD@rUV uNM&H=PDw3G&B-swP0cG|U}4M6Ps+?mWng8_%r9nOV+qJlDP{y}WdH!bdle!8 literal 0 HcmV?d00001 diff --git a/lib/form/controls/date.dart b/lib/form/controls/date.dart index bef1d963..d8800853 100644 --- a/lib/form/controls/date.dart +++ b/lib/form/controls/date.dart @@ -36,7 +36,7 @@ class Date extends StatelessWidget with Control, ControlInput { key: key, inputType: InputType.date, valueTransformer: (val) { - return val.toIso8601String(); + return val?.toIso8601String(); }, initialValue: doc != null ? parseDate(doc![doctypeField.fieldname]) : null, diff --git a/lib/form/controls/datetime.dart b/lib/form/controls/datetime.dart index 71152639..3541c4b8 100644 --- a/lib/form/controls/datetime.dart +++ b/lib/form/controls/datetime.dart @@ -31,7 +31,7 @@ class DatetimeField extends StatelessWidget with Control, ControlInput { value = parseDate(doc![doctypeField.fieldname]); } } - List validators = []; + List validators = []; var f = setMandatory(doctypeField); @@ -44,7 +44,7 @@ class DatetimeField extends StatelessWidget with Control, ControlInput { return FormBuilderDateTimePicker( key: key, valueTransformer: (val) { - return val.toIso8601String(); + return val?.toIso8601String(); }, resetIcon: Icon(Icons.close), initialValue: value, diff --git a/lib/form/controls/int.dart b/lib/form/controls/int.dart index bd1fa1f0..7e8d1303 100644 --- a/lib/form/controls/int.dart +++ b/lib/form/controls/int.dart @@ -9,7 +9,7 @@ import 'base_input.dart'; class Int extends StatelessWidget with Control, ControlInput { final DoctypeField doctypeField; - final void Function(String)? onChanged; + final void Function(String?)? onChanged; final Key? key; final Map? doc; @@ -22,7 +22,7 @@ class Int extends StatelessWidget with Control, ControlInput { @override Widget build(BuildContext context) { - List validators = []; + List validators = []; var f = setMandatory(doctypeField); diff --git a/lib/form/controls/small_text.dart b/lib/form/controls/small_text.dart index f5b4b91a..3a39996d 100644 --- a/lib/form/controls/small_text.dart +++ b/lib/form/controls/small_text.dart @@ -8,7 +8,7 @@ import 'base_input.dart'; class SmallText extends StatelessWidget with Control, ControlInput { final DoctypeField doctypeField; - final void Function(String)? onChanged; + final void Function(String?)? onChanged; final Key? key; final Map? doc; diff --git a/lib/form/controls/text.dart b/lib/form/controls/text.dart index e354dce3..84cb867d 100644 --- a/lib/form/controls/text.dart +++ b/lib/form/controls/text.dart @@ -9,7 +9,7 @@ import 'base_input.dart'; // appended control due to naming conflict with Text widget class ControlText extends StatelessWidget with Control, ControlInput { final DoctypeField doctypeField; - final void Function(String)? onChanged; + final void Function(String?)? onChanged; final Key? key; final Map? doc; diff --git a/lib/form/controls/time.dart b/lib/form/controls/time.dart index e4af29dc..d44b619f 100644 --- a/lib/form/controls/time.dart +++ b/lib/form/controls/time.dart @@ -40,7 +40,7 @@ class Time extends StatelessWidget with Control, ControlInput { : null, inputType: InputType.time, valueTransformer: (val) { - return val.toIso8601String(); + return val?.toIso8601String(); }, keyboardType: TextInputType.number, name: doctypeField.fieldname, diff --git a/lib/widgets/custom_form_builder_checkbox.dart b/lib/widgets/custom_form_builder_checkbox.dart index 4627be60..4a2ea1a7 100644 --- a/lib/widgets/custom_form_builder_checkbox.dart +++ b/lib/widgets/custom_form_builder_checkbox.dart @@ -115,7 +115,7 @@ class CustomFormBuilderCheckbox extends FormBuilderField { final state = field as _CustomFormBuilderCheckboxState; return InputDecorator( - decoration: state.decoration(), + decoration: state.decoration, child: GestureDetector( onTap: state.enabled ? () { diff --git a/lib/widgets/form_builder_chips_input.dart b/lib/widgets/form_builder_chips_input.dart index 7be8fbc1..7b88fd5c 100644 --- a/lib/widgets/form_builder_chips_input.dart +++ b/lib/widgets/form_builder_chips_input.dart @@ -77,7 +77,7 @@ class FormBuilderChipsInput extends FormBuilderField> { return ChipsInput( initialValue: field.value, enabled: state.enabled, - decoration: state.decoration(), + decoration: state.decoration, findSuggestions: findSuggestions, onChanged: (data) { field.didChange(data); diff --git a/lib/widgets/form_builder_typeahead.dart b/lib/widgets/form_builder_typeahead.dart index d3c7c474..3f1bc963 100644 --- a/lib/widgets/form_builder_typeahead.dart +++ b/lib/widgets/form_builder_typeahead.dart @@ -328,8 +328,8 @@ class FormBuilderTypeAhead extends FormBuilderField { color: theme.disabledColor, ), focusNode: state.effectiveFocusNode, - decoration: state.decoration(), - ) as TextFieldConfiguration, + decoration: state.decoration, + ), // HACK to satisfy strictness suggestionsCallback: suggestionsCallback, itemBuilder: itemBuilder, diff --git a/pubspec.lock b/pubspec.lock index ee7cbaa0..50da28fe 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -7,14 +7,14 @@ packages: name: _fe_analyzer_shared url: "https://pub.dartlang.org" source: hosted - version: "20.0.0" + version: "25.0.0" analyzer: dependency: transitive description: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "1.4.0" + version: "2.2.0" archive: dependency: transitive description: @@ -28,14 +28,14 @@ packages: name: args url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.2.0" async: dependency: transitive description: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.6.1" + version: "2.8.1" barcode: dependency: transitive description: @@ -63,63 +63,77 @@ packages: name: build url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.1.0" build_config: dependency: transitive description: name: build_config url: "https://pub.dartlang.org" source: hosted - version: "0.4.7" + version: "1.0.0" build_daemon: dependency: transitive description: name: build_daemon url: "https://pub.dartlang.org" source: hosted - version: "2.1.10" + version: "3.0.0" build_resolvers: dependency: transitive description: name: build_resolvers url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.4" build_runner: dependency: "direct dev" description: name: build_runner url: "https://pub.dartlang.org" source: hosted - version: "1.12.2" + version: "2.1.2" build_runner_core: dependency: transitive description: name: build_runner_core url: "https://pub.dartlang.org" source: hosted - version: "6.1.12" + version: "7.1.0" built_collection: dependency: transitive description: name: built_collection url: "https://pub.dartlang.org" source: hosted - version: "5.0.0" + version: "5.1.1" built_value: dependency: transitive description: name: built_value url: "https://pub.dartlang.org" source: hosted - version: "8.0.4" + version: "8.1.2" cached_network_image: dependency: "direct main" description: name: cached_network_image url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "3.1.0" + cached_network_image_platform_interface: + dependency: transitive + description: + name: cached_network_image_platform_interface + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.0" + cached_network_image_web: + dependency: transitive + description: + name: cached_network_image_web + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" characters: dependency: transitive description: @@ -133,7 +147,7 @@ packages: name: charcode url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" + version: "1.3.1" checked_yaml: dependency: transitive description: @@ -147,7 +161,7 @@ packages: name: chewie url: "https://pub.dartlang.org" source: hosted - version: "1.0.0" + version: "1.2.2" chewie_audio: dependency: transitive description: @@ -161,7 +175,7 @@ packages: name: cli_util url: "https://pub.dartlang.org" source: hosted - version: "0.3.0" + version: "0.3.3" clock: dependency: transitive description: @@ -175,7 +189,7 @@ packages: name: code_builder url: "https://pub.dartlang.org" source: hosted - version: "3.7.0" + version: "4.1.0" collection: dependency: "direct main" description: @@ -189,21 +203,21 @@ packages: name: connectivity url: "https://pub.dartlang.org" source: hosted - version: "3.0.3" + version: "3.0.6" connectivity_for_web: dependency: transitive description: name: connectivity_for_web url: "https://pub.dartlang.org" source: hosted - version: "0.4.0" + version: "0.4.0+1" connectivity_macos: dependency: transitive description: name: connectivity_macos url: "https://pub.dartlang.org" source: hosted - version: "0.2.0" + version: "0.2.1+2" connectivity_platform_interface: dependency: transitive description: @@ -217,7 +231,7 @@ packages: name: convert url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "3.0.1" cookie_jar: dependency: transitive description: @@ -245,14 +259,14 @@ packages: name: cupertino_icons url: "https://pub.dartlang.org" source: hosted - version: "1.0.2" + version: "1.0.3" dart_style: dependency: transitive description: name: dart_style url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.1.0" device_frame: dependency: transitive description: @@ -266,7 +280,7 @@ packages: name: device_info url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.2" device_info_platform_interface: dependency: transitive description: @@ -308,21 +322,21 @@ packages: name: ffi url: "https://pub.dartlang.org" source: hosted - version: "1.0.0" + version: "1.1.2" file: dependency: transitive description: name: file url: "https://pub.dartlang.org" source: hosted - version: "6.1.0" + version: "6.1.2" file_picker: dependency: "direct main" description: name: file_picker url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" + version: "4.0.2" fixnum: dependency: transitive description: @@ -348,7 +362,7 @@ packages: name: flutter_cache_manager url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" + version: "3.1.2" flutter_chips_input: dependency: "direct main" description: @@ -357,42 +371,42 @@ packages: source: hosted version: "1.10.0" flutter_colorpicker: - dependency: transitive + dependency: "direct overridden" description: name: flutter_colorpicker url: "https://pub.dartlang.org" source: hosted - version: "0.4.0" + version: "0.6.0" flutter_downloader: dependency: "direct main" description: name: flutter_downloader url: "https://pub.dartlang.org" source: hosted - version: "1.6.0" + version: "1.7.0" flutter_easyloading: dependency: "direct main" description: name: flutter_easyloading url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "3.0.3" flutter_form_builder: dependency: "direct main" description: path: "." - ref: e80fdaa31c6150bdb503f1437b9fa9cf127d0380 - resolved-ref: e80fdaa31c6150bdb503f1437b9fa9cf127d0380 + ref: fa0dad1906d28e446bfec1e723b04553a7a7027e + resolved-ref: fa0dad1906d28e446bfec1e723b04553a7a7027e url: "https://github.com/sumitbhanushali/flutter_form_builder" source: git - version: "6.0.0" + version: "6.1.0+1" flutter_html: dependency: "direct main" description: name: flutter_html url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.1.2" flutter_inappwebview: dependency: transitive description: @@ -406,7 +420,7 @@ packages: name: flutter_keyboard_visibility url: "https://pub.dartlang.org" source: hosted - version: "5.0.1" + version: "5.0.3" flutter_keyboard_visibility_platform_interface: dependency: transitive description: @@ -427,28 +441,28 @@ packages: name: flutter_launcher_icons url: "https://pub.dartlang.org" source: hosted - version: "0.9.0" + version: "0.9.2" flutter_layout_grid: dependency: transitive description: name: flutter_layout_grid url: "https://pub.dartlang.org" source: hosted - version: "1.0.1" + version: "1.0.3" flutter_local_notifications: dependency: "direct main" description: name: flutter_local_notifications url: "https://pub.dartlang.org" source: hosted - version: "5.0.0+1" + version: "8.2.0" flutter_local_notifications_platform_interface: dependency: transitive description: name: flutter_local_notifications_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "4.0.1" flutter_localizations: dependency: transitive description: flutter @@ -460,7 +474,7 @@ packages: name: flutter_math_fork url: "https://pub.dartlang.org" source: hosted - version: "0.3.3" + version: "0.3.3+1" flutter_mentions: dependency: "direct main" description: @@ -481,7 +495,7 @@ packages: name: flutter_plugin_android_lifecycle url: "https://pub.dartlang.org" source: hosted - version: "2.0.1" + version: "2.0.3" flutter_portal: dependency: transitive description: @@ -495,7 +509,7 @@ packages: name: flutter_spinkit url: "https://pub.dartlang.org" source: hosted - version: "5.0.0" + version: "5.1.0" flutter_svg: dependency: "direct main" description: @@ -514,7 +528,7 @@ packages: name: flutter_typeahead url: "https://pub.dartlang.org" source: hosted - version: "3.1.1" + version: "3.2.1" flutter_web_plugins: dependency: transitive description: flutter @@ -526,7 +540,7 @@ packages: name: fluttertoast url: "https://pub.dartlang.org" source: hosted - version: "8.0.4" + version: "8.0.8" font_awesome_flutter: dependency: transitive description: @@ -540,14 +554,21 @@ packages: name: freezed_annotation url: "https://pub.dartlang.org" source: hosted - version: "0.14.2" + version: "0.14.3" + frontend_server_client: + dependency: transitive + description: + name: frontend_server_client + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" get_it: dependency: "direct main" description: name: get_it url: "https://pub.dartlang.org" source: hosted - version: "6.1.1" + version: "7.2.0" glob: dependency: transitive description: @@ -561,35 +582,35 @@ packages: name: google_fonts url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.1.0" graphs: dependency: transitive description: name: graphs url: "https://pub.dartlang.org" source: hosted - version: "1.0.0" + version: "2.0.0" hive: dependency: "direct main" description: name: hive url: "https://pub.dartlang.org" source: hosted - version: "2.0.3" + version: "2.0.4" hive_flutter: dependency: "direct main" description: name: hive_flutter url: "https://pub.dartlang.org" source: hosted - version: "1.0.0" + version: "1.1.0" hive_generator: dependency: "direct dev" description: name: hive_generator url: "https://pub.dartlang.org" source: hosted - version: "1.0.1" + version: "1.1.1" html: dependency: "direct main" description: @@ -603,21 +624,21 @@ packages: name: html_editor_enhanced url: "https://pub.dartlang.org" source: hosted - version: "2.1.0+1" + version: "2.3.0" http: dependency: transitive description: name: http url: "https://pub.dartlang.org" source: hosted - version: "0.13.1" + version: "0.13.3" http_multi_server: dependency: transitive description: name: http_multi_server url: "https://pub.dartlang.org" source: hosted - version: "2.2.0" + version: "3.0.1" http_parser: dependency: transitive description: @@ -631,7 +652,7 @@ packages: name: image url: "https://pub.dartlang.org" source: hosted - version: "3.0.2" + version: "3.0.4" infinite_listview: dependency: transitive description: @@ -645,14 +666,14 @@ packages: name: injectable url: "https://pub.dartlang.org" source: hosted - version: "1.2.2" + version: "1.5.0" injectable_generator: dependency: "direct dev" description: name: injectable_generator url: "https://pub.dartlang.org" source: hosted - version: "1.2.2" + version: "1.5.2" intl: dependency: "direct main" description: @@ -666,7 +687,7 @@ packages: name: io url: "https://pub.dartlang.org" source: hosted - version: "0.3.4" + version: "1.0.3" js: dependency: transitive description: @@ -680,7 +701,7 @@ packages: name: json_annotation url: "https://pub.dartlang.org" source: hosted - version: "4.0.1" + version: "4.1.0" json_table: dependency: "direct main" description: @@ -710,14 +731,14 @@ packages: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0" + version: "1.7.0" mime: dependency: transitive description: name: mime url: "https://pub.dartlang.org" source: hosted - version: "0.9.7" + version: "1.0.0" nested: dependency: transitive description: @@ -732,6 +753,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.1.1" + numerus: + dependency: transitive + description: + name: numerus + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.1" octo_image: dependency: transitive description: @@ -745,7 +773,7 @@ packages: name: open_file url: "https://pub.dartlang.org" source: hosted - version: "3.1.0" + version: "3.2.1" overflow_view: dependency: "direct main" description: @@ -787,21 +815,21 @@ packages: name: path_provider url: "https://pub.dartlang.org" source: hosted - version: "2.0.1" + version: "2.0.3" path_provider_linux: dependency: transitive description: name: path_provider_linux url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.2" path_provider_macos: dependency: transitive description: name: path_provider_macos url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.2" path_provider_platform_interface: dependency: transitive description: @@ -815,28 +843,28 @@ packages: name: path_provider_windows url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.3" pedantic: dependency: transitive description: name: pedantic url: "https://pub.dartlang.org" source: hosted - version: "1.11.0" + version: "1.11.1" permission_handler: dependency: "direct main" description: name: permission_handler url: "https://pub.dartlang.org" source: hosted - version: "6.1.3" + version: "8.1.6" permission_handler_platform_interface: dependency: transitive description: name: permission_handler_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "3.1.3" + version: "3.6.1" persistent_bottom_nav_bar: dependency: "direct main" description: @@ -850,28 +878,28 @@ packages: name: petitparser url: "https://pub.dartlang.org" source: hosted - version: "4.1.0" + version: "4.3.0" photo_view: dependency: "direct main" description: name: photo_view url: "https://pub.dartlang.org" source: hosted - version: "0.11.1" + version: "0.12.0" platform: dependency: transitive description: name: platform url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "3.0.2" plugin_platform_interface: dependency: transitive description: name: plugin_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.1" pointer_interceptor: dependency: transitive description: @@ -892,7 +920,7 @@ packages: name: process url: "https://pub.dartlang.org" source: hosted - version: "4.2.1" + version: "4.2.3" provider: dependency: "direct main" description: @@ -920,7 +948,7 @@ packages: name: qr url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.1.0" quiver: dependency: transitive description: @@ -934,28 +962,28 @@ packages: name: rxdart url: "https://pub.dartlang.org" source: hosted - version: "0.26.0" + version: "0.27.2" shared_preferences: dependency: "direct main" description: name: shared_preferences url: "https://pub.dartlang.org" source: hosted - version: "2.0.5" + version: "2.0.7" shared_preferences_linux: dependency: transitive description: name: shared_preferences_linux url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.2" shared_preferences_macos: dependency: transitive description: name: shared_preferences_macos url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.2" shared_preferences_platform_interface: dependency: transitive description: @@ -969,21 +997,21 @@ packages: name: shared_preferences_web url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.2" shared_preferences_windows: dependency: transitive description: name: shared_preferences_windows url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.2" shelf: dependency: transitive description: name: shelf url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.2.0" shelf_web_socket: dependency: transitive description: @@ -1002,7 +1030,14 @@ packages: name: source_gen url: "https://pub.dartlang.org" source: hosted - version: "1.0.0" + version: "1.1.0" + source_helper: + dependency: transitive + description: + name: source_helper + url: "https://pub.dartlang.org" + source: hosted + version: "1.2.1" source_span: dependency: transitive description: @@ -1016,14 +1051,14 @@ packages: name: sqflite url: "https://pub.dartlang.org" source: hosted - version: "2.0.0+3" + version: "2.0.0+4" sqflite_common: dependency: transitive description: name: sqflite_common url: "https://pub.dartlang.org" source: hosted - version: "2.0.0+2" + version: "2.0.1+1" stack_trace: dependency: transitive description: @@ -1072,14 +1107,14 @@ packages: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.3.0" + version: "0.4.2" timeago: dependency: "direct main" description: name: timeago url: "https://pub.dartlang.org" source: hosted - version: "3.0.2" + version: "3.1.0" timelines: dependency: "direct main" description: @@ -1093,7 +1128,7 @@ packages: name: timezone url: "https://pub.dartlang.org" source: hosted - version: "0.7.0" + version: "0.8.0" timing: dependency: transitive description: @@ -1121,42 +1156,42 @@ packages: name: url_launcher url: "https://pub.dartlang.org" source: hosted - version: "6.0.3" + version: "6.0.10" url_launcher_linux: dependency: transitive description: name: url_launcher_linux url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.2" url_launcher_macos: dependency: transitive description: name: url_launcher_macos url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.2" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.0.2" + version: "2.0.4" url_launcher_web: dependency: transitive description: name: url_launcher_web url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.4" url_launcher_windows: dependency: transitive description: name: url_launcher_windows url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.2" uuid: dependency: transitive description: @@ -1184,21 +1219,21 @@ packages: name: video_player url: "https://pub.dartlang.org" source: hosted - version: "2.1.1" + version: "2.2.0" video_player_platform_interface: dependency: transitive description: name: video_player_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "4.1.0" + version: "4.2.0" video_player_web: dependency: transitive description: name: video_player_web url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.4" visibility_detector: dependency: transitive description: @@ -1212,28 +1247,35 @@ packages: name: wakelock url: "https://pub.dartlang.org" source: hosted - version: "0.4.0" + version: "0.5.4" wakelock_macos: dependency: transitive description: name: wakelock_macos url: "https://pub.dartlang.org" source: hosted - version: "0.1.0" + version: "0.1.0+3" wakelock_platform_interface: dependency: transitive description: name: wakelock_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "0.2.0" + version: "0.2.1+3" wakelock_web: dependency: transitive description: name: wakelock_web url: "https://pub.dartlang.org" source: hosted - version: "0.2.0" + version: "0.2.0+3" + wakelock_windows: + dependency: transitive + description: + name: wakelock_windows + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0+2" watcher: dependency: transitive description: @@ -1247,21 +1289,21 @@ packages: name: web_socket_channel url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.1.0" webview_flutter: dependency: transitive description: name: webview_flutter url: "https://pub.dartlang.org" source: hosted - version: "2.0.4" + version: "2.0.13" win32: dependency: transitive description: name: win32 url: "https://pub.dartlang.org" source: hosted - version: "2.0.5" + version: "2.2.9" xdg_directories: dependency: transitive description: @@ -1275,7 +1317,7 @@ packages: name: xml url: "https://pub.dartlang.org" source: hosted - version: "5.1.0" + version: "5.3.0" yaml: dependency: transitive description: @@ -1284,5 +1326,5 @@ packages: source: hosted version: "3.1.0" sdks: - dart: ">=2.12.0 <3.0.0" - flutter: ">=2.0.0" + dart: ">=2.14.0 <3.0.0" + flutter: ">=2.2.0" diff --git a/pubspec.yaml b/pubspec.yaml index f48acdff..1a2a0356 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -20,9 +20,9 @@ environment: dependencies: device_preview: ^0.7.4 flutter_mentions: ^2.0.1 - photo_view: ^0.11.1 + photo_view: ^0.12.0 flutter_easyloading: ^3.0.0 - html_editor_enhanced: ^2.1.0+1 + html_editor_enhanced: ^2.3.0 flutter_typeahead: ^3.1.1 flutter_chips_input: ^1.10.0 timelines: ^0.1.0 @@ -34,9 +34,9 @@ dependencies: shared_preferences: ^2.0.5 crypto: ^3.0.1 device_info: ^2.0.0 - flutter_local_notifications: ^5.0.0+1 + flutter_local_notifications: ^8.2.0 # workmanager: ^0.4.0 - get_it: ^6.1.1 + get_it: ^7.2.0 fluttertoast: ^8.0.4 hive: ^2.0.3 hive_flutter: ^1.0.0 @@ -47,12 +47,12 @@ dependencies: collection: ^1.15.0 cached_network_image: ^3.0.0 google_fonts: ^2.0.0 - file_picker: ^3.0.1 + file_picker: ^4.0.2 flutter_form_builder: ^6.0.0 flutter_pagewise: ^2.0.1 html: ^0.15.0 url_launcher: ^6.0.3 - permission_handler: ^6.1.3 + permission_handler: ^8.1.6 flutter_downloader: ^1.6.0 timeago: ^3.0.2 path_provider: ^2.0.1 @@ -81,6 +81,7 @@ flutter_icons: image_path: "assets/frappe_icon.jpg" dependency_overrides: + flutter_colorpicker: ^0.6.0 json_table: git: url: https://github.com/sumitbhanushali/json_table @@ -89,7 +90,7 @@ dependency_overrides: flutter_form_builder: git: url: https://github.com/sumitbhanushali/flutter_form_builder - ref: e80fdaa31c6150bdb503f1437b9fa9cf127d0380 + ref: fa0dad1906d28e446bfec1e723b04553a7a7027e # For information on the generic Dart part of this file, see the From 8b022b3d30a2119c6146616b4272fe71500b2f67 Mon Sep 17 00:00:00 2001 From: Sumit Bhanushali Date: Fri, 17 Sep 2021 00:07:59 +0530 Subject: [PATCH 5/5] updated deprecated properties --- lib/app.dart | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/lib/app.dart b/lib/app.dart index c3cf8f44..03131b7b 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -40,6 +40,18 @@ class _FrappeAppState extends State { @override Widget build(BuildContext context) { + var theme = ThemeData( + appBarTheme: AppBarTheme( + backgroundColor: Colors.white, + foregroundColor: Colors.black, + ), + textTheme: GoogleFonts.interTextTheme( + Theme.of(context).textTheme.apply( + // fontSizeFactor: 0.7, + ), + ), + ); + return Portal( child: LifeCycleManager( child: StreamProvider( @@ -50,16 +62,7 @@ class _FrappeAppState extends State { builder: EasyLoading.init(), debugShowCheckedModeBanner: false, title: 'Frappe', - theme: new ThemeData( - textTheme: GoogleFonts.interTextTheme( - Theme.of(context).textTheme.apply( - // fontSizeFactor: 0.7, - ), - ), - disabledColor: Colors.black, - primaryColor: Colors.white, - accentColor: Colors.black54, - ), + theme: theme, home: GestureDetector( onTap: () { FocusScope.of(context).requestFocus(new FocusNode());