diff --git a/CHANGELOG.md b/CHANGELOG.md index 36e964fa..9cd8530a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 1.0.0 +Same as 1.0.0-dev.9. This is just for making it clear that it's now stable. + ## 1.0.0-dev.9 ### Fixed * Fixes an issue where we click on the Slidable instead of dragging it (https://github.com/letsar/flutter_slidable/pull/235). diff --git a/example/pubspec.lock b/example/pubspec.lock index 6d0efb74..ade8a7a2 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -7,7 +7,7 @@ packages: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.5.0" + version: "2.8.1" boolean_selector: dependency: transitive description: @@ -28,7 +28,7 @@ packages: name: charcode url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" + version: "1.3.1" clock: dependency: transitive description: @@ -68,7 +68,7 @@ packages: path: ".." relative: true source: path - version: "1.0.0-dev.9" + version: "1.0.0" flutter_test: dependency: "direct dev" description: flutter @@ -87,7 +87,7 @@ packages: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0" + version: "1.7.0" path: dependency: transitive description: @@ -106,7 +106,7 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.0" + version: "1.8.1" stack_trace: dependency: transitive description: @@ -141,7 +141,7 @@ packages: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.19" + version: "0.4.2" typed_data: dependency: transitive description: diff --git a/lib/src/action_pane.dart b/lib/src/action_pane.dart index a76862bd..5b01488d 100644 --- a/lib/src/action_pane.dart +++ b/lib/src/action_pane.dart @@ -52,7 +52,7 @@ class ActionPane extends StatefulWidget { this.openThreshold, this.closeThreshold, required this.children, - }) : assert(extentRatio > 0 && extentRatio <= 1), + }) : assert(extentRatio > 0 && extentRatio <= 1), assert( openThreshold == null || (openThreshold > 0 && openThreshold < 1)), assert(closeThreshold == null || diff --git a/lib/src/actions.dart b/lib/src/actions.dart index 0b2dc0e8..3890de2f 100644 --- a/lib/src/actions.dart +++ b/lib/src/actions.dart @@ -25,7 +25,7 @@ class CustomSlidableAction extends StatelessWidget { this.autoClose = _kAutoClose, required this.onPressed, required this.child, - }) : assert(flex > 0), + }) : assert(flex > 0), super(key: key); /// {@template slidable.actions.flex} diff --git a/lib/src/flex_entrance_transition.dart b/lib/src/flex_entrance_transition.dart index 849d91e7..fc913ddf 100644 --- a/lib/src/flex_entrance_transition.dart +++ b/lib/src/flex_entrance_transition.dart @@ -56,7 +56,7 @@ class _RenderFlexEntranceTransition extends RenderBox Axis direction = Axis.horizontal, required Animation mainAxisPosition, required bool startToEnd, - }) : _direction = direction, + }) : _direction = direction, _mainAxisPosition = mainAxisPosition, _startToEnd = startToEnd { addAll(children); diff --git a/lib/src/flex_exit_transition.dart b/lib/src/flex_exit_transition.dart index 191b5d86..7f082890 100644 --- a/lib/src/flex_exit_transition.dart +++ b/lib/src/flex_exit_transition.dart @@ -61,7 +61,7 @@ class _RenderFlexExitTransition extends RenderBox required Animation mainAxisExtent, double? initialExtentRatio, required bool startToEnd, - }) : _direction = direction, + }) : _direction = direction, _mainAxisExtent = mainAxisExtent, _initialExtentRatio = initialExtentRatio, _startToEnd = startToEnd { diff --git a/lib/src/notifications.dart b/lib/src/notifications.dart index 1c3ba0c7..d47ab175 100644 --- a/lib/src/notifications.dart +++ b/lib/src/notifications.dart @@ -99,7 +99,7 @@ class SlidableNotificationListener extends StatefulWidget { this.onNotification, this.autoClose = true, required this.child, - }) : assert( + }) : assert( autoClose || onNotification != null, 'Either autoClose or onNotification must be set.', ), diff --git a/pubspec.lock b/pubspec.lock index 4e58f1b9..f3548af2 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -28,7 +28,7 @@ packages: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.5.0" + version: "2.8.1" boolean_selector: dependency: transitive description: @@ -49,7 +49,7 @@ packages: name: charcode url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" + version: "1.3.1" cli_util: dependency: transitive description: @@ -116,6 +116,13 @@ packages: description: flutter source: sdk version: "0.0.0" + frontend_server_client: + dependency: transitive + description: + name: frontend_server_client + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.2" glob: dependency: transitive description: @@ -171,7 +178,7 @@ packages: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0" + version: "1.7.0" mime: dependency: transitive description: @@ -192,7 +199,7 @@ packages: name: node_preamble url: "https://pub.dartlang.org" source: hosted - version: "1.4.13" + version: "2.0.1" package_config: dependency: transitive description: @@ -281,7 +288,7 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.0" + version: "1.8.1" stack_trace: dependency: transitive description: @@ -316,21 +323,21 @@ packages: name: test url: "https://pub.dartlang.org" source: hosted - version: "1.16.5" + version: "1.17.10" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.19" + version: "0.4.2" test_core: dependency: transitive description: name: test_core url: "https://pub.dartlang.org" source: hosted - version: "0.3.15" + version: "0.4.0" typed_data: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 60211e3b..1b4843f0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_slidable description: A Flutter implementation of slidable list item with directional slide actions that can be dismissed. -version: 1.0.0-dev.9 +version: 1.0.0 homepage: https://github.com/letsar/flutter_slidable environment: