diff --git a/example/ios/Flutter/AppFrameworkInfo.plist b/example/ios/Flutter/AppFrameworkInfo.plist
index 6b4c0f7..f2872cf 100644
--- a/example/ios/Flutter/AppFrameworkInfo.plist
+++ b/example/ios/Flutter/AppFrameworkInfo.plist
@@ -21,6 +21,6 @@
CFBundleVersion
1.0
MinimumOSVersion
- 8.0
+ 9.0
diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj
index 5f1bf4c..844a8ab 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 = 50;
objects = {
/* Begin PBXBuildFile section */
@@ -135,7 +135,7 @@
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
- LastUpgradeCheck = 1020;
+ LastUpgradeCheck = 1300;
ORGANIZATIONNAME = "";
TargetAttributes = {
97C146ED1CF9000F007C117D = {
@@ -241,7 +241,6 @@
/* Begin XCBuildConfiguration section */
249021D3217E4FDB00AE95B9 /* Profile */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
@@ -281,7 +280,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 = 9.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
@@ -318,7 +317,6 @@
};
97C147031CF9000F007C117D /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
@@ -364,7 +362,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 = 9.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
@@ -374,7 +372,6 @@
};
97C147041CF9000F007C117D /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
@@ -414,7 +411,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 = 9.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
diff --git a/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
index 1d526a1..919434a 100644
--- a/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ b/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -2,6 +2,6 @@
+ location = "self:">
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
+
diff --git a/example/pubspec.lock b/example/pubspec.lock
index 31e424f..1f58269 100644
--- a/example/pubspec.lock
+++ b/example/pubspec.lock
@@ -42,7 +42,7 @@ packages:
name: collection
url: "https://pub.dartlang.org"
source: hosted
- version: "1.15.0"
+ version: "1.16.0"
cupertino_icons:
dependency: "direct main"
description:
@@ -56,7 +56,7 @@ packages:
name: fake_async
url: "https://pub.dartlang.org"
source: hosted
- version: "1.2.0"
+ version: "1.3.0"
flutter:
dependency: "direct main"
description: flutter
@@ -80,7 +80,7 @@ packages:
name: material_color_utilities
url: "https://pub.dartlang.org"
source: hosted
- version: "0.1.3"
+ version: "0.1.4"
meta:
dependency: transitive
description:
@@ -101,7 +101,7 @@ packages:
name: path
url: "https://pub.dartlang.org"
source: hosted
- version: "1.8.0"
+ version: "1.8.1"
sky_engine:
dependency: transitive
description: flutter
@@ -113,7 +113,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
- version: "1.8.1"
+ version: "1.8.2"
stack_trace:
dependency: transitive
description:
@@ -148,20 +148,13 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
- version: "0.4.8"
- typed_data:
- dependency: transitive
- description:
- name: typed_data
- url: "https://pub.dartlang.org"
- source: hosted
- version: "1.3.0"
+ version: "0.4.9"
vector_math:
dependency: transitive
description:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
- version: "2.1.1"
+ version: "2.1.2"
sdks:
- dart: ">=2.14.0 <3.0.0"
+ dart: ">=2.17.0-0 <3.0.0"
diff --git a/lib/bottom_sheet/multi_select_bottom_sheet_field.dart b/lib/bottom_sheet/multi_select_bottom_sheet_field.dart
index 8a1cf46..d74f3c4 100644
--- a/lib/bottom_sheet/multi_select_bottom_sheet_field.dart
+++ b/lib/bottom_sheet/multi_select_bottom_sheet_field.dart
@@ -103,7 +103,7 @@ class MultiSelectBottomSheetField extends FormField> {
/// Set the color of the check in the checkbox
final Color? checkColor;
- final AutovalidateMode autovalidateMode;
+ final AutovalidateMode autoValidateMode;
final FormFieldValidator>? validator;
final FormFieldSetter>? onSaved;
final GlobalKey? key;
@@ -144,12 +144,12 @@ class MultiSelectBottomSheetField extends FormField> {
this.key,
this.onSaved,
this.validator,
- this.autovalidateMode = AutovalidateMode.disabled,
+ this.autoValidateMode = AutovalidateMode.disabled,
}) : super(
key: key,
onSaved: onSaved,
validator: validator,
- autovalidateMode: autovalidateMode,
+ autovalidateMode: autoValidateMode,
initialValue: initialValue ?? [],
builder: (FormFieldState> state) {
_MultiSelectBottomSheetFieldView view =
diff --git a/lib/chip_display/multi_select_chip_display.dart b/lib/chip_display/multi_select_chip_display.dart
index a90a287..b5a3583 100644
--- a/lib/chip_display/multi_select_chip_display.dart
+++ b/lib/chip_display/multi_select_chip_display.dart
@@ -96,7 +96,7 @@ class MultiSelectChipDisplay extends StatelessWidget {
height: height ?? MediaQuery.of(context).size.height * 0.08,
child: scrollBar != null
? Scrollbar(
- isAlwaysShown: scrollBar!.isAlwaysShown,
+ thumbVisibility: scrollBar!.isAlwaysShown,
controller: _scrollController,
child: ListView.builder(
controller: _scrollController,
diff --git a/lib/chip_field/multi_select_chip_field.dart b/lib/chip_field/multi_select_chip_field.dart
index 1f420ce..0e94fa1 100644
--- a/lib/chip_field/multi_select_chip_field.dart
+++ b/lib/chip_field/multi_select_chip_field.dart
@@ -23,7 +23,7 @@ class MultiSelectChipField extends FormField> {
/// The icon displayed in front of text on selected chips.
final Icon? icon;
- /// Replaces the deafult search icon when searchable is true.
+ /// Replaces the default search icon when searchable is true.
final Icon? searchIcon;
/// Replaces the default close search icon when searchable is true.
@@ -79,7 +79,7 @@ class MultiSelectChipField extends FormField> {
final double? chipWidth;
final List? initialValue;
- final AutovalidateMode autovalidateMode;
+ final AutovalidateMode autoValidateMode;
final FormFieldValidator>? validator;
final FormFieldSetter>? onSaved;
final GlobalKey? key;
@@ -107,7 +107,7 @@ class MultiSelectChipField extends FormField> {
this.key,
this.onSaved,
this.validator,
- this.autovalidateMode = AutovalidateMode.disabled,
+ this.autoValidateMode = AutovalidateMode.disabled,
this.initialValue,
this.itemBuilder,
this.height,
@@ -119,7 +119,7 @@ class MultiSelectChipField extends FormField> {
key: key,
onSaved: onSaved,
validator: validator,
- autovalidateMode: autovalidateMode,
+ autovalidateMode: autoValidateMode,
initialValue: initialValue ?? [],
builder: (FormFieldState> state) {
_MultiSelectChipFieldView view = _MultiSelectChipFieldView(
@@ -270,7 +270,7 @@ class __MultiSelectChipFieldViewState
_selectedValues.addAll(widget.initialValue!);
}
if (widget.scrollControl != null && widget.scroll)
- WidgetsBinding.instance!.addPostFrameCallback((_) => _scrollToPosition());
+ WidgetsBinding.instance.addPostFrameCallback((_) => _scrollToPosition());
}
_scrollToPosition() {
@@ -379,7 +379,7 @@ class __MultiSelectChipFieldViewState
MediaQuery.of(context).size.height * 0.08,
child: widget.scrollBar != null
? Scrollbar(
- isAlwaysShown: widget.scrollBar!.isAlwaysShown,
+ thumbVisibility: widget.scrollBar!.isAlwaysShown,
controller: _scrollController,
child: ListView.builder(
controller: _scrollController,
diff --git a/lib/dialog/multi_select_dialog_field.dart b/lib/dialog/multi_select_dialog_field.dart
index ed72e6c..674ba41 100644
--- a/lib/dialog/multi_select_dialog_field.dart
+++ b/lib/dialog/multi_select_dialog_field.dart
@@ -97,7 +97,7 @@ class MultiSelectDialogField extends FormField> {
/// Set the color of the check in the checkbox
final Color? checkColor;
- final AutovalidateMode autovalidateMode;
+ final AutovalidateMode autoValidateMode;
final FormFieldValidator>? validator;
final FormFieldSetter>? onSaved;
final GlobalKey? key;
@@ -135,13 +135,13 @@ class MultiSelectDialogField extends FormField> {
this.onSaved,
this.validator,
this.initialValue,
- this.autovalidateMode = AutovalidateMode.disabled,
+ this.autoValidateMode = AutovalidateMode.disabled,
this.key,
}) : super(
key: key,
onSaved: onSaved,
validator: validator,
- autovalidateMode: autovalidateMode,
+ autovalidateMode: autoValidateMode,
initialValue: initialValue ?? [],
builder: (FormFieldState> state) {
_MultiSelectDialogFieldView field =
diff --git a/pubspec.lock b/pubspec.lock
index e4e496b..4714166 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -42,14 +42,14 @@ packages:
name: collection
url: "https://pub.dartlang.org"
source: hosted
- version: "1.15.0"
+ version: "1.16.0"
fake_async:
dependency: transitive
description:
name: fake_async
url: "https://pub.dartlang.org"
source: hosted
- version: "1.2.0"
+ version: "1.3.0"
flutter:
dependency: "direct main"
description: flutter
@@ -73,7 +73,7 @@ packages:
name: material_color_utilities
url: "https://pub.dartlang.org"
source: hosted
- version: "0.1.3"
+ version: "0.1.4"
meta:
dependency: transitive
description:
@@ -87,7 +87,7 @@ packages:
name: path
url: "https://pub.dartlang.org"
source: hosted
- version: "1.8.0"
+ version: "1.8.1"
sky_engine:
dependency: transitive
description: flutter
@@ -99,7 +99,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
- version: "1.8.1"
+ version: "1.8.2"
stack_trace:
dependency: transitive
description:
@@ -134,20 +134,13 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
- version: "0.4.8"
- typed_data:
- dependency: transitive
- description:
- name: typed_data
- url: "https://pub.dartlang.org"
- source: hosted
- version: "1.3.0"
+ version: "0.4.9"
vector_math:
dependency: transitive
description:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
- version: "2.1.1"
+ version: "2.1.2"
sdks:
- dart: ">=2.14.0 <3.0.0"
+ dart: ">=2.17.0-0 <3.0.0"
diff --git a/pubspec.yaml b/pubspec.yaml
index 50eff1c..e54c571 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -12,7 +12,7 @@ environment:
dependencies:
flutter:
sdk: flutter
- collection: ^1.15.0
+ collection: ^1.16.0
dev_dependencies:
flutter_test: