Skip to content

Commit

Permalink
Formatting and 1.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
letsar committed Nov 11, 2021
1 parent 7aa18b1 commit d0fce62
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 20 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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).
Expand Down
12 changes: 6 additions & 6 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion lib/src/action_pane.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||
Expand Down
2 changes: 1 addition & 1 deletion lib/src/actions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion lib/src/flex_entrance_transition.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class _RenderFlexEntranceTransition extends RenderBox
Axis direction = Axis.horizontal,
required Animation<double> mainAxisPosition,
required bool startToEnd,
}) : _direction = direction,
}) : _direction = direction,
_mainAxisPosition = mainAxisPosition,
_startToEnd = startToEnd {
addAll(children);
Expand Down
2 changes: 1 addition & 1 deletion lib/src/flex_exit_transition.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class _RenderFlexExitTransition extends RenderBox
required Animation<double> mainAxisExtent,
double? initialExtentRatio,
required bool startToEnd,
}) : _direction = direction,
}) : _direction = direction,
_mainAxisExtent = mainAxisExtent,
_initialExtentRatio = initialExtentRatio,
_startToEnd = startToEnd {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/notifications.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
),
Expand Down
23 changes: 15 additions & 8 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit d0fce62

Please sign in to comment.