From f04ebf2961d8ac367df9e09bdf1eb69ca5b3c545 Mon Sep 17 00:00:00 2001 From: peter <16809252+percula@users.noreply.github.com> Date: Wed, 17 Mar 2021 10:14:28 -0400 Subject: [PATCH 1/7] fix: didChange causes exception when used in build method, so use setValue. Also, allow blank date if firstDate and lastDate are not supplied. And fix lastDate to be 5 days after --- lib/date_range_form_field.dart | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/date_range_form_field.dart b/lib/date_range_form_field.dart index 157e676..787c4ac 100644 --- a/lib/date_range_form_field.dart +++ b/lib/date_range_form_field.dart @@ -58,10 +58,10 @@ class DateRangeField extends FormField { final InputDecoration inputDecoration = decoration .copyWith(enabled: enabled) .applyDefaults(Theme.of(state.context).inputDecorationTheme); - if (state.value == null) { - state.didChange(DateTimeRange( - start: firstDate ?? DateTime.now(), - end: lastDate ?? DateTime(DateTime.now().year + 5))); + if (state.value == null && firstDate != null && lastDate != null) { + state.setValue(DateTimeRange( + start: firstDate, + end: lastDate)); } /// This is the dialog to select the date range. @@ -70,7 +70,7 @@ class DateRangeField extends FormField { context: context, initialDateRange: initialValue, firstDate: firstDate ?? DateTime.now(), - lastDate: lastDate ?? DateTime(DateTime.now().year + 5), + lastDate: lastDate ?? DateTime.now().add(Duration(days: 5)), helpText: helpText ?? 'Select Date Range', cancelText: cancelText ?? 'CANCEL', confirmText: confirmText ?? 'OK', From 38d85b2213720604cc88b344757d1135f5c70a4c Mon Sep 17 00:00:00 2001 From: peter <16809252+percula@users.noreply.github.com> Date: Fri, 19 Mar 2021 10:03:11 -0400 Subject: [PATCH 2/7] fix: Use initialvalue for state, not firstDate and lastDate --- lib/date_range_form_field.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/date_range_form_field.dart b/lib/date_range_form_field.dart index 787c4ac..efc6b3d 100644 --- a/lib/date_range_form_field.dart +++ b/lib/date_range_form_field.dart @@ -58,10 +58,10 @@ class DateRangeField extends FormField { final InputDecoration inputDecoration = decoration .copyWith(enabled: enabled) .applyDefaults(Theme.of(state.context).inputDecorationTheme); - if (state.value == null && firstDate != null && lastDate != null) { + if (state.value == null && initialValue != null) { state.setValue(DateTimeRange( - start: firstDate, - end: lastDate)); + start: initialValue.start, + end: initialValue.end)); } /// This is the dialog to select the date range. From 37167804a883c55e430370cedaf6fbc2479a52d2 Mon Sep 17 00:00:00 2001 From: peter <16809252+percula@users.noreply.github.com> Date: Wed, 17 Mar 2021 10:14:28 -0400 Subject: [PATCH 3/7] fix: didChange causes exception when used in build method, so use setValue. Also, allow blank date if firstDate and lastDate are not supplied. And fix lastDate to be 5 days after --- lib/date_range_form_field.dart | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/date_range_form_field.dart b/lib/date_range_form_field.dart index 944162a..769bc2f 100644 --- a/lib/date_range_form_field.dart +++ b/lib/date_range_form_field.dart @@ -62,6 +62,11 @@ class DateRangeField extends FormField { final InputDecoration inputDecoration = decoration .copyWith(enabled: enabled) .applyDefaults(Theme.of(state.context).inputDecorationTheme); + if (state.value == null && firstDate != null && lastDate != null) { + state.setValue(DateTimeRange( + start: firstDate, + end: lastDate)); + } /// This is the dialog to select the date range. Future selectDateRange() async { @@ -69,7 +74,7 @@ class DateRangeField extends FormField { context: state.context, initialDateRange: initialValue, firstDate: firstDate ?? DateTime.now(), - lastDate: lastDate ?? DateTime(DateTime.now().year + 5), + lastDate: lastDate ?? DateTime.now().add(Duration(days: 5)), helpText: helpText ?? 'Select Date Range', cancelText: cancelText ?? 'CANCEL', confirmText: confirmText ?? 'OK', From 4e0e27e34f0d2a14c28fa57579a7566954261d10 Mon Sep 17 00:00:00 2001 From: peter <16809252+percula@users.noreply.github.com> Date: Fri, 19 Mar 2021 10:03:11 -0400 Subject: [PATCH 4/7] fix: Use initialvalue for state, not firstDate and lastDate --- lib/date_range_form_field.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/date_range_form_field.dart b/lib/date_range_form_field.dart index 769bc2f..6cf5afd 100644 --- a/lib/date_range_form_field.dart +++ b/lib/date_range_form_field.dart @@ -62,10 +62,10 @@ class DateRangeField extends FormField { final InputDecoration inputDecoration = decoration .copyWith(enabled: enabled) .applyDefaults(Theme.of(state.context).inputDecorationTheme); - if (state.value == null && firstDate != null && lastDate != null) { + if (state.value == null && initialValue != null) { state.setValue(DateTimeRange( - start: firstDate, - end: lastDate)); + start: initialValue.start, + end: initialValue.end)); } /// This is the dialog to select the date range. From 249bac8f1a409440f711fbc7dd1c16181a59a64d Mon Sep 17 00:00:00 2001 From: Peter Keefe <16809252+percula@users.noreply.github.com> Date: Mon, 19 Dec 2022 15:04:20 -0500 Subject: [PATCH 5/7] fix: Pass key to super --- lib/date_range_form_field.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/date_range_form_field.dart b/lib/date_range_form_field.dart index 6cf5afd..ed29934 100644 --- a/lib/date_range_form_field.dart +++ b/lib/date_range_form_field.dart @@ -52,6 +52,7 @@ class DateRangeField extends FormField { this.textStyle, InputDecoration decoration = const InputDecoration()}) : super( + key: key, validator: validator, onSaved: onSaved, enabled: enabled, From c0338e6e52af021abcf67aff070d79ce6fd794f7 Mon Sep 17 00:00:00 2001 From: Peter Keefe <16809252+percula@users.noreply.github.com> Date: Thu, 25 May 2023 13:25:20 -0400 Subject: [PATCH 6/7] feat: Updates for Flutter 3.10 --- example/android/build.gradle | 2 +- example/ios/Flutter/AppFrameworkInfo.plist | 2 +- example/ios/Runner.xcodeproj/project.pbxproj | 13 +- .../xcshareddata/xcschemes/Runner.xcscheme | 2 +- example/ios/Runner/Info.plist | 4 + example/pubspec.lock | 124 ++++++++++-------- example/pubspec.yaml | 6 +- pubspec.lock | 115 +++++++++------- pubspec.yaml | 4 +- 9 files changed, 153 insertions(+), 119 deletions(-) diff --git a/example/android/build.gradle b/example/android/build.gradle index fcfcd55..bee68d4 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -26,6 +26,6 @@ subprojects { project.evaluationDependsOn(':app') } -task clean(type: Delete) { +tasks.register("clean", Delete) { delete rootProject.buildDir } diff --git a/example/ios/Flutter/AppFrameworkInfo.plist b/example/ios/Flutter/AppFrameworkInfo.plist index 6b4c0f7..4f8d4d2 100644 --- a/example/ios/Flutter/AppFrameworkInfo.plist +++ b/example/ios/Flutter/AppFrameworkInfo.plist @@ -21,6 +21,6 @@ CFBundleVersion 1.0 MinimumOSVersion - 8.0 + 11.0 diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index a583632..22f7c7c 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 46; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -127,7 +127,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1020; + LastUpgradeCheck = 1300; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { @@ -171,10 +171,12 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); inputPaths = ( + "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", ); name = "Thin Binary"; outputPaths = ( @@ -185,6 +187,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -272,7 +275,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -354,7 +357,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -403,7 +406,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; diff --git a/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index a28140c..3db53b6 100644 --- a/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ UIViewControllerBasedStatusBarAppearance + CADisableMinimumFrameDurationOnPhone + + UIApplicationSupportsIndirectInputEvents + diff --git a/example/pubspec.lock b/example/pubspec.lock index 26a9c4e..8e6aa11 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -5,65 +5,57 @@ packages: dependency: transitive description: name: async - url: "https://pub.dartlang.org" + sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" + url: "https://pub.dev" source: hosted - version: "2.6.1" + version: "2.11.0" boolean_selector: dependency: transitive description: name: boolean_selector - url: "https://pub.dartlang.org" + sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" + url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.1" characters: dependency: transitive description: name: characters - url: "https://pub.dartlang.org" + sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" + url: "https://pub.dev" source: hosted - version: "1.1.0" - charcode: - dependency: transitive - description: - name: charcode - url: "https://pub.dartlang.org" - source: hosted - version: "1.2.0" + version: "1.3.0" clock: dependency: transitive description: name: clock - url: "https://pub.dartlang.org" + sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf + url: "https://pub.dev" source: hosted - version: "1.1.0" + version: "1.1.1" collection: dependency: transitive description: name: collection - url: "https://pub.dartlang.org" + sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c" + url: "https://pub.dev" source: hosted - version: "1.15.0" - cupertino_icons: - dependency: "direct main" - description: - name: cupertino_icons - url: "https://pub.dartlang.org" - source: hosted - version: "0.1.3" + version: "1.17.1" date_range_form_field: dependency: "direct main" description: path: ".." relative: true source: path - version: "1.0.1" + version: "1.0.2" fake_async: dependency: transitive description: name: fake_async - url: "https://pub.dartlang.org" + sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" + url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.3.1" flutter: dependency: "direct main" description: flutter @@ -78,30 +70,50 @@ packages: dependency: transitive description: name: intl - url: "https://pub.dartlang.org" + sha256: "910f85bce16fb5c6f614e117efa303e85a1731bb0081edf3604a2ae6e9a3cc91" + url: "https://pub.dev" source: hosted version: "0.17.0" + js: + dependency: transitive + description: + name: js + sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 + url: "https://pub.dev" + source: hosted + version: "0.6.7" matcher: dependency: transitive description: name: matcher - url: "https://pub.dartlang.org" + sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb" + url: "https://pub.dev" + source: hosted + version: "0.12.15" + material_color_utilities: + dependency: transitive + description: + name: material_color_utilities + sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724 + url: "https://pub.dev" source: hosted - version: "0.12.10" + version: "0.2.0" meta: dependency: transitive description: name: meta - url: "https://pub.dartlang.org" + sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + url: "https://pub.dev" source: hosted - version: "1.3.0" + version: "1.9.1" path: dependency: transitive description: name: path - url: "https://pub.dartlang.org" + sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" + url: "https://pub.dev" source: hosted - version: "1.8.0" + version: "1.8.3" sky_engine: dependency: transitive description: flutter @@ -111,58 +123,58 @@ packages: dependency: transitive description: name: source_span - url: "https://pub.dartlang.org" + sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250 + url: "https://pub.dev" source: hosted - version: "1.8.1" + version: "1.9.1" stack_trace: dependency: transitive description: name: stack_trace - url: "https://pub.dartlang.org" + sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.11.0" stream_channel: dependency: transitive description: name: stream_channel - url: "https://pub.dartlang.org" + sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.1" string_scanner: dependency: transitive description: name: string_scanner - url: "https://pub.dartlang.org" + sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + url: "https://pub.dev" source: hosted - version: "1.1.0" + version: "1.2.0" term_glyph: dependency: transitive description: name: term_glyph - url: "https://pub.dartlang.org" + sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 + url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.2.1" test_api: dependency: transitive description: name: test_api - url: "https://pub.dartlang.org" + sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb + url: "https://pub.dev" source: hosted - version: "0.3.0" - typed_data: - dependency: transitive - description: - name: typed_data - url: "https://pub.dartlang.org" - source: hosted - version: "1.3.0" + version: "0.5.1" vector_math: dependency: transitive description: name: vector_math - url: "https://pub.dartlang.org" + sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" + url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.4" sdks: - dart: ">=2.12.0 <3.0.0" + dart: ">=3.0.0-0 <3.1.0" flutter: ">=1.17.0" diff --git a/example/pubspec.yaml b/example/pubspec.yaml index c5fdbaa..2e594e4 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: '>=2.12.0 <3.0.0' + sdk: '>=2.12.0 <3.1.0' dependencies: flutter: @@ -27,10 +27,6 @@ dependencies: path: ../ - # The following adds the Cupertino Icons font to your application. - # Use with the CupertinoIcons class for iOS style icons. - cupertino_icons: ^0.1.3 - dev_dependencies: flutter_test: sdk: flutter diff --git a/pubspec.lock b/pubspec.lock index b16f3d7..44ffa2f 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,51 +5,50 @@ packages: dependency: transitive description: name: async - url: "https://pub.dartlang.org" + sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" + url: "https://pub.dev" source: hosted - version: "2.6.1" + version: "2.11.0" boolean_selector: dependency: transitive description: name: boolean_selector - url: "https://pub.dartlang.org" + sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" + url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.1" characters: dependency: transitive description: name: characters - url: "https://pub.dartlang.org" + sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" + url: "https://pub.dev" source: hosted - version: "1.1.0" - charcode: - dependency: transitive - description: - name: charcode - url: "https://pub.dartlang.org" - source: hosted - version: "1.2.0" + version: "1.3.0" clock: dependency: transitive description: name: clock - url: "https://pub.dartlang.org" + sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf + url: "https://pub.dev" source: hosted - version: "1.1.0" + version: "1.1.1" collection: dependency: transitive description: name: collection - url: "https://pub.dartlang.org" + sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c" + url: "https://pub.dev" source: hosted - version: "1.15.0" + version: "1.17.1" fake_async: dependency: transitive description: name: fake_async - url: "https://pub.dartlang.org" + sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" + url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.3.1" flutter: dependency: "direct main" description: flutter @@ -64,30 +63,50 @@ packages: dependency: "direct main" description: name: intl - url: "https://pub.dartlang.org" + sha256: "910f85bce16fb5c6f614e117efa303e85a1731bb0081edf3604a2ae6e9a3cc91" + url: "https://pub.dev" source: hosted version: "0.17.0" + js: + dependency: transitive + description: + name: js + sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 + url: "https://pub.dev" + source: hosted + version: "0.6.7" matcher: dependency: transitive description: name: matcher - url: "https://pub.dartlang.org" + sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb" + url: "https://pub.dev" source: hosted - version: "0.12.10" + version: "0.12.15" + material_color_utilities: + dependency: transitive + description: + name: material_color_utilities + sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724 + url: "https://pub.dev" + source: hosted + version: "0.2.0" meta: dependency: transitive description: name: meta - url: "https://pub.dartlang.org" + sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + url: "https://pub.dev" source: hosted - version: "1.3.0" + version: "1.9.1" path: dependency: transitive description: name: path - url: "https://pub.dartlang.org" + sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" + url: "https://pub.dev" source: hosted - version: "1.8.0" + version: "1.8.3" sky_engine: dependency: transitive description: flutter @@ -97,58 +116,58 @@ packages: dependency: transitive description: name: source_span - url: "https://pub.dartlang.org" + sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250 + url: "https://pub.dev" source: hosted - version: "1.8.1" + version: "1.9.1" stack_trace: dependency: transitive description: name: stack_trace - url: "https://pub.dartlang.org" + sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.11.0" stream_channel: dependency: transitive description: name: stream_channel - url: "https://pub.dartlang.org" + sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.1" string_scanner: dependency: transitive description: name: string_scanner - url: "https://pub.dartlang.org" + sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + url: "https://pub.dev" source: hosted - version: "1.1.0" + version: "1.2.0" term_glyph: dependency: transitive description: name: term_glyph - url: "https://pub.dartlang.org" + sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 + url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.2.1" test_api: dependency: transitive description: name: test_api - url: "https://pub.dartlang.org" + sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb + url: "https://pub.dev" source: hosted - version: "0.3.0" - typed_data: - dependency: transitive - description: - name: typed_data - url: "https://pub.dartlang.org" - source: hosted - version: "1.3.0" + version: "0.5.1" vector_math: dependency: transitive description: name: vector_math - url: "https://pub.dartlang.org" + sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" + url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.4" sdks: - dart: ">=2.12.0 <3.0.0" + dart: ">=3.0.0-0 <3.1.0" flutter: ">=1.17.0" diff --git a/pubspec.yaml b/pubspec.yaml index 2a01f81..6339557 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,13 +4,13 @@ version: 1.0.2 homepage: https://github.com/JMAConsulting/date_range_form_field environment: - sdk: '>=2.12.0 <3.0.0' + sdk: '>=2.12.0 <3.1.0' flutter: ">=1.17.0" dependencies: flutter: sdk: flutter - intl: ^0.17.0 + intl: '>=0.17.0 <1.0.0' dev_dependencies: flutter_test: From 8c9d9c7459d6e3850cc1cc99ad3cd2fba0f67738 Mon Sep 17 00:00:00 2001 From: Peter Keefe <16809252+percula@users.noreply.github.com> Date: Tue, 29 Aug 2023 16:08:41 -0400 Subject: [PATCH 7/7] chore: Update max flutter sdk version --- example/pubspec.yaml | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 2e594e4..d50b3c9 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: '>=2.12.0 <3.1.0' + sdk: '>=2.12.0 <4.0.0' dependencies: flutter: diff --git a/pubspec.yaml b/pubspec.yaml index 6339557..55f42c6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.2 homepage: https://github.com/JMAConsulting/date_range_form_field environment: - sdk: '>=2.12.0 <3.1.0' + sdk: '>=2.12.0 <4.0.0' flutter: ">=1.17.0" dependencies: