Skip to content

Commit 3e3151e

Browse files
committed
[refactor] Move widget states in separate classes
1 parent a5e9838 commit 3e3151e

9 files changed

+503
-482
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ DEPLOY
3030
img/
3131
example/example_0/
3232
example/example_03_web/
33+
example/example_01_web/
3334

3435

3536
#Publish

example/example_03/pubspec.lock

+23-37
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Generated by pub
2-
# See https://www.dartlang.org/tools/pub/glossary#lockfile
2+
# See https://dart.dev/tools/pub/glossary#lockfile
33
packages:
44
analyzer:
55
dependency: transitive
66
description:
77
name: analyzer
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "0.34.3"
10+
version: "0.36.4"
1111
args:
1212
dependency: transitive
1313
description:
@@ -21,7 +21,7 @@ packages:
2121
name: async
2222
url: "https://pub.dartlang.org"
2323
source: hosted
24-
version: "2.0.8"
24+
version: "2.2.0"
2525
boolean_selector:
2626
dependency: transitive
2727
description:
@@ -74,10 +74,10 @@ packages:
7474
drawing_animation:
7575
dependency: "direct main"
7676
description:
77-
name: drawing_animation
78-
url: "https://pub.dartlang.org"
79-
source: hosted
80-
version: "0.0.4"
77+
path: "../.."
78+
relative: true
79+
source: path
80+
version: "0.1.1"
8181
flutter:
8282
dependency: "direct main"
8383
description: flutter
@@ -94,7 +94,7 @@ packages:
9494
name: front_end
9595
url: "https://pub.dartlang.org"
9696
source: hosted
97-
version: "0.1.9+1"
97+
version: "0.1.19"
9898
glob:
9999
dependency: transitive
100100
description:
@@ -108,7 +108,7 @@ packages:
108108
name: html
109109
url: "https://pub.dartlang.org"
110110
source: hosted
111-
version: "0.13.3+3"
111+
version: "0.14.0+2"
112112
http:
113113
dependency: transitive
114114
description:
@@ -150,14 +150,14 @@ packages:
150150
name: json_rpc_2
151151
url: "https://pub.dartlang.org"
152152
source: hosted
153-
version: "2.0.9"
153+
version: "2.1.0"
154154
kernel:
155155
dependency: transitive
156156
description:
157157
name: kernel
158158
url: "https://pub.dartlang.org"
159159
source: hosted
160-
version: "0.3.9+1"
160+
version: "0.3.19"
161161
logging:
162162
dependency: transitive
163163
description:
@@ -171,7 +171,7 @@ packages:
171171
name: matcher
172172
url: "https://pub.dartlang.org"
173173
source: hosted
174-
version: "0.12.3+1"
174+
version: "0.12.5"
175175
meta:
176176
dependency: transitive
177177
description:
@@ -234,21 +234,14 @@ packages:
234234
name: pedantic
235235
url: "https://pub.dartlang.org"
236236
source: hosted
237-
version: "1.5.0"
237+
version: "1.7.0"
238238
petitparser:
239239
dependency: transitive
240240
description:
241241
name: petitparser
242242
url: "https://pub.dartlang.org"
243243
source: hosted
244244
version: "2.1.1"
245-
plugin:
246-
dependency: transitive
247-
description:
248-
name: plugin
249-
url: "https://pub.dartlang.org"
250-
source: hosted
251-
version: "0.2.0+3"
252245
pool:
253246
dependency: transitive
254247
description:
@@ -269,14 +262,14 @@ packages:
269262
name: quiver
270263
url: "https://pub.dartlang.org"
271264
source: hosted
272-
version: "2.0.1"
265+
version: "2.0.3"
273266
shelf:
274267
dependency: transitive
275268
description:
276269
name: shelf
277270
url: "https://pub.dartlang.org"
278271
source: hosted
279-
version: "0.7.4"
272+
version: "0.7.5"
280273
shelf_packages_handler:
281274
dependency: transitive
282275
description:
@@ -297,7 +290,7 @@ packages:
297290
name: shelf_web_socket
298291
url: "https://pub.dartlang.org"
299292
source: hosted
300-
version: "0.2.2+4"
293+
version: "0.2.3"
301294
sky_engine:
302295
dependency: transitive
303296
description: flutter
@@ -337,7 +330,7 @@ packages:
337330
name: stream_channel
338331
url: "https://pub.dartlang.org"
339332
source: hosted
340-
version: "1.6.8"
333+
version: "2.0.0"
341334
string_scanner:
342335
dependency: transitive
343336
description:
@@ -358,21 +351,21 @@ packages:
358351
name: test
359352
url: "https://pub.dartlang.org"
360353
source: hosted
361-
version: "1.5.3"
354+
version: "1.6.3"
362355
test_api:
363356
dependency: transitive
364357
description:
365358
name: test_api
366359
url: "https://pub.dartlang.org"
367360
source: hosted
368-
version: "0.2.2"
361+
version: "0.2.5"
369362
test_core:
370363
dependency: transitive
371364
description:
372365
name: test_core
373366
url: "https://pub.dartlang.org"
374367
source: hosted
375-
version: "0.2.1+1"
368+
version: "0.2.5"
376369
typed_data:
377370
dependency: transitive
378371
description:
@@ -387,13 +380,6 @@ packages:
387380
url: "https://pub.dartlang.org"
388381
source: hosted
389382
version: "4.2.0+3"
390-
utf:
391-
dependency: transitive
392-
description:
393-
name: utf
394-
url: "https://pub.dartlang.org"
395-
source: hosted
396-
version: "0.9.0+5"
397383
vector_math:
398384
dependency: transitive
399385
description:
@@ -407,7 +393,7 @@ packages:
407393
name: vm_service_client
408394
url: "https://pub.dartlang.org"
409395
source: hosted
410-
version: "0.2.6"
396+
version: "0.2.6+2"
411397
watcher:
412398
dependency: transitive
413399
description:
@@ -421,7 +407,7 @@ packages:
421407
name: web_socket_channel
422408
url: "https://pub.dartlang.org"
423409
source: hosted
424-
version: "1.0.9"
410+
version: "1.0.14"
425411
xml:
426412
dependency: transitive
427413
description:
@@ -437,5 +423,5 @@ packages:
437423
source: hosted
438424
version: "2.1.15"
439425
sdks:
440-
dart: ">=2.2.0 <3.0.0"
426+
dart: ">=2.2.2 <3.0.0"
441427
flutter: ">=0.7.3 <2.0.0"

lib/drawing_animation.dart

+1
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,4 @@ export 'src/drawing_widget.dart';
7272
export 'src/path_order.dart' hide Extractor;
7373
export 'src/debug.dart' hide resetFrame, iterateFrame, getFrameCount;
7474
export 'src/range.dart';
75+
export 'src/line_animation.dart';

0 commit comments

Comments
 (0)