Skip to content

Commit d0fce62

Browse files
committed
Formatting and 1.0 version
1 parent 7aa18b1 commit d0fce62

File tree

9 files changed

+30
-20
lines changed

9 files changed

+30
-20
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 1.0.0
2+
Same as 1.0.0-dev.9. This is just for making it clear that it's now stable.
3+
14
## 1.0.0-dev.9
25
### Fixed
36
* Fixes an issue where we click on the Slidable instead of dragging it (https://github.com/letsar/flutter_slidable/pull/235).

example/pubspec.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.5.0"
10+
version: "2.8.1"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -28,7 +28,7 @@ packages:
2828
name: charcode
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "1.2.0"
31+
version: "1.3.1"
3232
clock:
3333
dependency: transitive
3434
description:
@@ -68,7 +68,7 @@ packages:
6868
path: ".."
6969
relative: true
7070
source: path
71-
version: "1.0.0-dev.9"
71+
version: "1.0.0"
7272
flutter_test:
7373
dependency: "direct dev"
7474
description: flutter
@@ -87,7 +87,7 @@ packages:
8787
name: meta
8888
url: "https://pub.dartlang.org"
8989
source: hosted
90-
version: "1.3.0"
90+
version: "1.7.0"
9191
path:
9292
dependency: transitive
9393
description:
@@ -106,7 +106,7 @@ packages:
106106
name: source_span
107107
url: "https://pub.dartlang.org"
108108
source: hosted
109-
version: "1.8.0"
109+
version: "1.8.1"
110110
stack_trace:
111111
dependency: transitive
112112
description:
@@ -141,7 +141,7 @@ packages:
141141
name: test_api
142142
url: "https://pub.dartlang.org"
143143
source: hosted
144-
version: "0.2.19"
144+
version: "0.4.2"
145145
typed_data:
146146
dependency: transitive
147147
description:

lib/src/action_pane.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class ActionPane extends StatefulWidget {
5252
this.openThreshold,
5353
this.closeThreshold,
5454
required this.children,
55-
}) : assert(extentRatio > 0 && extentRatio <= 1),
55+
}) : assert(extentRatio > 0 && extentRatio <= 1),
5656
assert(
5757
openThreshold == null || (openThreshold > 0 && openThreshold < 1)),
5858
assert(closeThreshold == null ||

lib/src/actions.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class CustomSlidableAction extends StatelessWidget {
2525
this.autoClose = _kAutoClose,
2626
required this.onPressed,
2727
required this.child,
28-
}) : assert(flex > 0),
28+
}) : assert(flex > 0),
2929
super(key: key);
3030

3131
/// {@template slidable.actions.flex}

lib/src/flex_entrance_transition.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class _RenderFlexEntranceTransition extends RenderBox
5656
Axis direction = Axis.horizontal,
5757
required Animation<double> mainAxisPosition,
5858
required bool startToEnd,
59-
}) : _direction = direction,
59+
}) : _direction = direction,
6060
_mainAxisPosition = mainAxisPosition,
6161
_startToEnd = startToEnd {
6262
addAll(children);

lib/src/flex_exit_transition.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class _RenderFlexExitTransition extends RenderBox
6161
required Animation<double> mainAxisExtent,
6262
double? initialExtentRatio,
6363
required bool startToEnd,
64-
}) : _direction = direction,
64+
}) : _direction = direction,
6565
_mainAxisExtent = mainAxisExtent,
6666
_initialExtentRatio = initialExtentRatio,
6767
_startToEnd = startToEnd {

lib/src/notifications.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class SlidableNotificationListener extends StatefulWidget {
9999
this.onNotification,
100100
this.autoClose = true,
101101
required this.child,
102-
}) : assert(
102+
}) : assert(
103103
autoClose || onNotification != null,
104104
'Either autoClose or onNotification must be set.',
105105
),

pubspec.lock

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ packages:
2828
name: async
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "2.5.0"
31+
version: "2.8.1"
3232
boolean_selector:
3333
dependency: transitive
3434
description:
@@ -49,7 +49,7 @@ packages:
4949
name: charcode
5050
url: "https://pub.dartlang.org"
5151
source: hosted
52-
version: "1.2.0"
52+
version: "1.3.1"
5353
cli_util:
5454
dependency: transitive
5555
description:
@@ -116,6 +116,13 @@ packages:
116116
description: flutter
117117
source: sdk
118118
version: "0.0.0"
119+
frontend_server_client:
120+
dependency: transitive
121+
description:
122+
name: frontend_server_client
123+
url: "https://pub.dartlang.org"
124+
source: hosted
125+
version: "2.1.2"
119126
glob:
120127
dependency: transitive
121128
description:
@@ -171,7 +178,7 @@ packages:
171178
name: meta
172179
url: "https://pub.dartlang.org"
173180
source: hosted
174-
version: "1.3.0"
181+
version: "1.7.0"
175182
mime:
176183
dependency: transitive
177184
description:
@@ -192,7 +199,7 @@ packages:
192199
name: node_preamble
193200
url: "https://pub.dartlang.org"
194201
source: hosted
195-
version: "1.4.13"
202+
version: "2.0.1"
196203
package_config:
197204
dependency: transitive
198205
description:
@@ -281,7 +288,7 @@ packages:
281288
name: source_span
282289
url: "https://pub.dartlang.org"
283290
source: hosted
284-
version: "1.8.0"
291+
version: "1.8.1"
285292
stack_trace:
286293
dependency: transitive
287294
description:
@@ -316,21 +323,21 @@ packages:
316323
name: test
317324
url: "https://pub.dartlang.org"
318325
source: hosted
319-
version: "1.16.5"
326+
version: "1.17.10"
320327
test_api:
321328
dependency: transitive
322329
description:
323330
name: test_api
324331
url: "https://pub.dartlang.org"
325332
source: hosted
326-
version: "0.2.19"
333+
version: "0.4.2"
327334
test_core:
328335
dependency: transitive
329336
description:
330337
name: test_core
331338
url: "https://pub.dartlang.org"
332339
source: hosted
333-
version: "0.3.15"
340+
version: "0.4.0"
334341
typed_data:
335342
dependency: transitive
336343
description:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_slidable
22
description: A Flutter implementation of slidable list item with directional slide actions that can be dismissed.
3-
version: 1.0.0-dev.9
3+
version: 1.0.0
44
homepage: https://github.com/letsar/flutter_slidable
55

66
environment:

0 commit comments

Comments
 (0)