From 04f121a63c23b60df360fdde25bca77c8bf4a17d Mon Sep 17 00:00:00 2001 From: Jogboms Date: Sat, 28 Aug 2021 09:54:30 +0200 Subject: [PATCH 1/7] Rename SpinKitPouringHourglass -> SpinKitPouringHourGlass for correctness --- example/lib/showcase.dart | 2 +- lib/src/pouring_hour_glass.dart | 8 ++++---- test/pouring_hour_glass_test.dart | 8 ++++---- test/smoke_test.dart | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/example/lib/showcase.dart b/example/lib/showcase.dart index 836012c..efd8a23 100644 --- a/example/lib/showcase.dart +++ b/example/lib/showcase.dart @@ -35,7 +35,7 @@ class ShowCase extends StatelessWidget { const SpinKitSpinningCircle(color: Colors.white, shape: BoxShape.rectangle), const SpinKitFadingCircle(color: Colors.white), const SpinKitHourGlass(color: Colors.white), - const SpinKitPouringHourglass(color: Colors.white), + const SpinKitPouringHourGlass(color: Colors.white), const SpinKitPouringHourGlassRefined(color: Colors.white), const SpinKitRipple(color: Colors.white), const SpinKitDancingSquare(color: Colors.white), diff --git a/lib/src/pouring_hour_glass.dart b/lib/src/pouring_hour_glass.dart index c455e77..6b07f21 100644 --- a/lib/src/pouring_hour_glass.dart +++ b/lib/src/pouring_hour_glass.dart @@ -3,8 +3,8 @@ import 'dart:ui'; import 'package:flutter/widgets.dart'; -class SpinKitPouringHourglass extends StatefulWidget { - const SpinKitPouringHourglass({ +class SpinKitPouringHourGlass extends StatefulWidget { + const SpinKitPouringHourGlass({ Key? key, required this.color, this.size = 50.0, @@ -18,10 +18,10 @@ class SpinKitPouringHourglass extends StatefulWidget { final AnimationController? controller; @override - _SpinKitPouringHourglassState createState() => _SpinKitPouringHourglassState(); + _SpinKitPouringHourGlassState createState() => _SpinKitPouringHourGlassState(); } -class _SpinKitPouringHourglassState extends State with SingleTickerProviderStateMixin { +class _SpinKitPouringHourGlassState extends State with SingleTickerProviderStateMixin { late AnimationController _controller; late Animation _pouringAnimation; late Animation _rotationAnimation; diff --git a/test/pouring_hour_glass_test.dart b/test/pouring_hour_glass_test.dart index 4167e26..d23b8f1 100644 --- a/test/pouring_hour_glass_test.dart +++ b/test/pouring_hour_glass_test.dart @@ -7,15 +7,15 @@ import 'helpers.dart'; void main() { group("PouringHourglass", () { testWidgets('works with color', (WidgetTester tester) async { - await tester.pumpWidget(createMaterialApp(SpinKitPouringHourglass(color: Colors.white))); - expect(find.byType(SpinKitPouringHourglass), findsOneWidget); + await tester.pumpWidget(createMaterialApp(SpinKitPouringHourGlass(color: Colors.white))); + expect(find.byType(SpinKitPouringHourGlass), findsOneWidget); expect(find.byType(CustomPaint), findsWidgets); tester.verifyTickersWereDisposed(); }); testWidgets('works without Material', (WidgetTester tester) async { - await tester.pumpWidget(createWidgetsApp(SpinKitPouringHourglass(color: Colors.white))); - expect(find.byType(SpinKitPouringHourglass), findsOneWidget); + await tester.pumpWidget(createWidgetsApp(SpinKitPouringHourGlass(color: Colors.white))); + expect(find.byType(SpinKitPouringHourGlass), findsOneWidget); expect(find.byType(CustomPaint), findsWidgets); tester.verifyTickersWereDisposed(); }); diff --git a/test/smoke_test.dart b/test/smoke_test.dart index bd719b1..b0fbc32 100644 --- a/test/smoke_test.dart +++ b/test/smoke_test.dart @@ -22,7 +22,7 @@ void main() { SpinKitFadingGrid(color: Colors.white), SpinKitFoldingCube(color: Colors.white), SpinKitHourGlass(color: Colors.white), - SpinKitPouringHourglass(color: Colors.white), + SpinKitPouringHourGlass(color: Colors.white), SpinKitPulse(color: Colors.white), SpinKitPumpingHeart(color: Colors.white), SpinKitRing(color: Colors.white), From 6304e4732879e3d9a8234f1fd7095893795537cb Mon Sep 17 00:00:00 2001 From: Jogboms Date: Sat, 28 Aug 2021 09:55:05 +0200 Subject: [PATCH 2/7] Add refined hour glass to smoke test --- test/smoke_test.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/test/smoke_test.dart b/test/smoke_test.dart index b0fbc32..afaca66 100644 --- a/test/smoke_test.dart +++ b/test/smoke_test.dart @@ -23,6 +23,7 @@ void main() { SpinKitFoldingCube(color: Colors.white), SpinKitHourGlass(color: Colors.white), SpinKitPouringHourGlass(color: Colors.white), + SpinKitPouringHourGlassRefined(color: Colors.white), SpinKitPulse(color: Colors.white), SpinKitPumpingHeart(color: Colors.white), SpinKitRing(color: Colors.white), From c78a26008f924baa8ad88f8911669d9d5db6d305 Mon Sep 17 00:00:00 2001 From: Jogboms Date: Sat, 28 Aug 2021 09:58:50 +0200 Subject: [PATCH 3/7] Only dispose of local controllers --- lib/src/circle.dart | 4 +++- lib/src/cube_grid.dart | 4 +++- lib/src/dancing_square.dart | 4 +++- lib/src/double_bounce.dart | 4 +++- lib/src/dual_ring.dart | 4 +++- lib/src/fading_circle.dart | 4 +++- lib/src/fading_cube.dart | 4 +++- lib/src/fading_four.dart | 4 +++- lib/src/fading_grid.dart | 4 +++- lib/src/folding_cube.dart | 11 +++++++---- lib/src/hour_glass.dart | 4 +++- lib/src/piano_wave.dart | 4 +++- lib/src/pouring_hour_glass.dart | 4 +++- lib/src/pouring_hour_glass_refined.dart | 4 +++- lib/src/pulse.dart | 4 +++- lib/src/pumping_heart.dart | 4 +++- lib/src/ring.dart | 4 +++- lib/src/ripple.dart | 4 +++- lib/src/rotating_circle.dart | 4 +++- lib/src/rotating_plain.dart | 4 +++- lib/src/spinning_circle.dart | 4 +++- lib/src/spinning_lines.dart | 4 +++- lib/src/square_circle.dart | 4 +++- lib/src/three_bounce.dart | 4 +++- lib/src/three_in_out.dart | 6 ++++-- lib/src/wave.dart | 4 +++- 26 files changed, 83 insertions(+), 30 deletions(-) diff --git a/lib/src/circle.dart b/lib/src/circle.dart index 9c27cbf..0397f7c 100644 --- a/lib/src/circle.dart +++ b/lib/src/circle.dart @@ -36,7 +36,9 @@ class _SpinKitCircleState extends State with SingleTickerProvider @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/cube_grid.dart b/lib/src/cube_grid.dart index 29f79f2..c4361db 100644 --- a/lib/src/cube_grid.dart +++ b/lib/src/cube_grid.dart @@ -50,7 +50,9 @@ class _SpinKitCubeGridState extends State with SingleTickerProv @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/dancing_square.dart b/lib/src/dancing_square.dart index 6e5d49f..0d9f6cc 100644 --- a/lib/src/dancing_square.dart +++ b/lib/src/dancing_square.dart @@ -37,7 +37,9 @@ class _SpinKitDancingSquareState extends State with Single @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/double_bounce.dart b/lib/src/double_bounce.dart index 21100c4..c79dc73 100644 --- a/lib/src/double_bounce.dart +++ b/lib/src/double_bounce.dart @@ -38,7 +38,9 @@ class _SpinKitDoubleBounceState extends State with SingleTi @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/dual_ring.dart b/lib/src/dual_ring.dart index 4a77784..8c9d082 100644 --- a/lib/src/dual_ring.dart +++ b/lib/src/dual_ring.dart @@ -39,7 +39,9 @@ class _SpinKitDualRingState extends State with SingleTickerProv @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/fading_circle.dart b/lib/src/fading_circle.dart index b9bbc63..d947701 100644 --- a/lib/src/fading_circle.dart +++ b/lib/src/fading_circle.dart @@ -36,7 +36,9 @@ class _SpinKitFadingCircleState extends State with SingleTi @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/fading_cube.dart b/lib/src/fading_cube.dart index e653834..ffa452b 100644 --- a/lib/src/fading_cube.dart +++ b/lib/src/fading_cube.dart @@ -35,7 +35,9 @@ class _SpinKitFadingCubeState extends State with SingleTicker @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/fading_four.dart b/lib/src/fading_four.dart index 814cf89..c7c08d2 100644 --- a/lib/src/fading_four.dart +++ b/lib/src/fading_four.dart @@ -38,7 +38,9 @@ class _SpinKitFadingFourState extends State with SingleTicker @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/fading_grid.dart b/lib/src/fading_grid.dart index 801ffb4..839812e 100644 --- a/lib/src/fading_grid.dart +++ b/lib/src/fading_grid.dart @@ -37,7 +37,9 @@ class _SpinKitFadingGridState extends State with SingleTicker @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/folding_cube.dart b/lib/src/folding_cube.dart index 96fb8eb..f53c766 100644 --- a/lib/src/folding_cube.dart +++ b/lib/src/folding_cube.dart @@ -1,4 +1,5 @@ import 'dart:async'; + import 'package:flutter/widgets.dart'; class SpinKitFoldingCube extends StatefulWidget { @@ -99,10 +100,12 @@ class _SpinKitFoldingCubeState extends State with TickerProv _timer2.cancel(); _timer3.cancel(); _timer4.cancel(); - _controller1.dispose(); - _controller2.dispose(); - _controller3.dispose(); - _controller4.dispose(); + if (widget.controller == null) { + _controller1.dispose(); + _controller2.dispose(); + _controller3.dispose(); + _controller4.dispose(); + } super.dispose(); } diff --git a/lib/src/hour_glass.dart b/lib/src/hour_glass.dart index 93daad0..bb923ab 100644 --- a/lib/src/hour_glass.dart +++ b/lib/src/hour_glass.dart @@ -37,7 +37,9 @@ class _SpinKitHourGlassState extends State with SingleTickerPr @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/piano_wave.dart b/lib/src/piano_wave.dart index 87d0afe..2f671d4 100644 --- a/lib/src/piano_wave.dart +++ b/lib/src/piano_wave.dart @@ -43,7 +43,9 @@ class _SpinKitPianoWaveState extends State with SingleTickerPr @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/pouring_hour_glass.dart b/lib/src/pouring_hour_glass.dart index 6b07f21..8df7157 100644 --- a/lib/src/pouring_hour_glass.dart +++ b/lib/src/pouring_hour_glass.dart @@ -41,7 +41,9 @@ class _SpinKitPouringHourGlassState extends State with @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/pouring_hour_glass_refined.dart b/lib/src/pouring_hour_glass_refined.dart index e7cdc48..c1a8e57 100644 --- a/lib/src/pouring_hour_glass_refined.dart +++ b/lib/src/pouring_hour_glass_refined.dart @@ -42,7 +42,9 @@ class _SpinKitPouringHourGlassRefinedState extends State with SingleTickerProviderSt @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/pumping_heart.dart b/lib/src/pumping_heart.dart index a34cc7c..33b6761 100644 --- a/lib/src/pumping_heart.dart +++ b/lib/src/pumping_heart.dart @@ -40,7 +40,9 @@ class _SpinKitPumpingHeartState extends State with SingleTi @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/ring.dart b/lib/src/ring.dart index 6aba4b9..2183935 100644 --- a/lib/src/ring.dart +++ b/lib/src/ring.dart @@ -45,7 +45,9 @@ class _SpinKitRingState extends State with SingleTickerProviderStat @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/ripple.dart b/lib/src/ripple.dart index 02762fc..c79805e 100644 --- a/lib/src/ripple.dart +++ b/lib/src/ripple.dart @@ -44,7 +44,9 @@ class _SpinKitRippleState extends State with SingleTickerProvider @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/rotating_circle.dart b/lib/src/rotating_circle.dart index 3a4763a..f841660 100644 --- a/lib/src/rotating_circle.dart +++ b/lib/src/rotating_circle.dart @@ -42,7 +42,9 @@ class _SpinKitRotatingCircleState extends State with Sing @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/rotating_plain.dart b/lib/src/rotating_plain.dart index 4b17780..e0ec638 100644 --- a/lib/src/rotating_plain.dart +++ b/lib/src/rotating_plain.dart @@ -42,7 +42,9 @@ class _SpinKitRotatingPlainState extends State with Single @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/spinning_circle.dart b/lib/src/spinning_circle.dart index 9170b96..eaa91a5 100644 --- a/lib/src/spinning_circle.dart +++ b/lib/src/spinning_circle.dart @@ -43,7 +43,9 @@ class _SpinKitSpinningCircleState extends State with Sing @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/spinning_lines.dart b/lib/src/spinning_lines.dart index 0e479a8..1cd11f5 100644 --- a/lib/src/spinning_lines.dart +++ b/lib/src/spinning_lines.dart @@ -44,7 +44,9 @@ class _SpinKitSpinningLinesState extends State with Single @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/square_circle.dart b/lib/src/square_circle.dart index a1f9d67..a7f6d63 100644 --- a/lib/src/square_circle.dart +++ b/lib/src/square_circle.dart @@ -43,7 +43,9 @@ class _SpinKitSquareCircleState extends State with SingleTi @override void dispose() { - controller.dispose(); + if (widget.controller == null) { + controller.dispose(); + } super.dispose(); } diff --git a/lib/src/three_bounce.dart b/lib/src/three_bounce.dart index a384dee..dcb756f 100644 --- a/lib/src/three_bounce.dart +++ b/lib/src/three_bounce.dart @@ -35,7 +35,9 @@ class _SpinKitThreeBounceState extends State with SingleTick @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } diff --git a/lib/src/three_in_out.dart b/lib/src/three_in_out.dart index a110aaf..5ac0ae1 100644 --- a/lib/src/three_in_out.dart +++ b/lib/src/three_in_out.dart @@ -68,8 +68,10 @@ class _SpinKitThreeInOutState extends State with SingleTicker @override void dispose() { - _controller?.dispose(); - _controller = null; + if (widget.controller == null) { + _controller?.dispose(); + _controller = null; + } _forwardTimer?.cancel(); diff --git a/lib/src/wave.dart b/lib/src/wave.dart index 60737a8..5a23238 100644 --- a/lib/src/wave.dart +++ b/lib/src/wave.dart @@ -42,7 +42,9 @@ class _SpinKitWaveState extends State with SingleTickerProviderStat @override void dispose() { - _controller.dispose(); + if (widget.controller == null) { + _controller.dispose(); + } super.dispose(); } From a5e974e4109a99400d2ae5f785731544c8864b27 Mon Sep 17 00:00:00 2001 From: Jogboms Date: Sat, 28 Aug 2021 10:02:40 +0200 Subject: [PATCH 4/7] Introduce strokeWidth to pouring glass animation --- lib/src/pouring_hour_glass.dart | 8 ++++++-- lib/src/pouring_hour_glass_refined.dart | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/lib/src/pouring_hour_glass.dart b/lib/src/pouring_hour_glass.dart index 8df7157..0f0561c 100644 --- a/lib/src/pouring_hour_glass.dart +++ b/lib/src/pouring_hour_glass.dart @@ -9,12 +9,14 @@ class SpinKitPouringHourGlass extends StatefulWidget { required this.color, this.size = 50.0, this.duration = const Duration(milliseconds: 2400), + this.strokeWidth, this.controller, }) : super(key: key); final double size; final Color color; final Duration duration; + final double? strokeWidth; final AnimationController? controller; @override @@ -58,6 +60,7 @@ class _SpinKitPouringHourGlassState extends State with painter: _HourGlassPaint( poured: _pouringAnimation.value, color: widget.color, + strokeWidth: widget.strokeWidth, ), ), ), @@ -67,7 +70,7 @@ class _SpinKitPouringHourGlassState extends State with } class _HourGlassPaint extends CustomPainter { - _HourGlassPaint({this.poured, required Color color}) + _HourGlassPaint({this.strokeWidth, this.poured, required Color color}) : _paint = Paint() ..style = PaintingStyle.stroke ..color = color, @@ -75,6 +78,7 @@ class _HourGlassPaint extends CustomPainter { ..style = PaintingStyle.fill ..color = color; + final double? strokeWidth; final double? poured; final Paint _paint; final Paint _powderPaint; @@ -88,7 +92,7 @@ class _HourGlassPaint extends CustomPainter { final yPadding = gapWidth / 2; final top = yPadding; final bottom = size.height - yPadding; - _paint.strokeWidth = gapWidth; + _paint.strokeWidth = strokeWidth ?? gapWidth; final hourglassPath = Path() ..moveTo(centerX - hourglassWidth, top) diff --git a/lib/src/pouring_hour_glass_refined.dart b/lib/src/pouring_hour_glass_refined.dart index c1a8e57..2d55f66 100644 --- a/lib/src/pouring_hour_glass_refined.dart +++ b/lib/src/pouring_hour_glass_refined.dart @@ -9,12 +9,14 @@ class SpinKitPouringHourGlassRefined extends StatefulWidget { required this.color, this.size = 50.0, this.duration = const Duration(milliseconds: 2400), + this.strokeWidth, this.controller, }) : super(key: key); final double size; final Color color; final Duration duration; + final double? strokeWidth; final AnimationController? controller; @override @@ -59,6 +61,7 @@ class _SpinKitPouringHourGlassRefinedState extends State Date: Sat, 28 Aug 2021 10:54:36 +0200 Subject: [PATCH 5/7] Include SpinKitSpinningLines tests --- test/smoke_test.dart | 1 + test/spinning_line_test.dart | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 test/spinning_line_test.dart diff --git a/test/smoke_test.dart b/test/smoke_test.dart index afaca66..6795c8f 100644 --- a/test/smoke_test.dart +++ b/test/smoke_test.dart @@ -31,6 +31,7 @@ void main() { SpinKitRotatingCircle(color: Colors.white), SpinKitRotatingPlain(color: Colors.white), SpinKitSpinningCircle(color: Colors.white), + SpinKitSpinningLines(color: Colors.white), SpinKitThreeBounce(color: Colors.white), SpinKitThreeInOut(color: Colors.white), SpinKitWanderingCubes(color: Colors.white), diff --git a/test/spinning_line_test.dart b/test/spinning_line_test.dart new file mode 100644 index 0000000..505a0c1 --- /dev/null +++ b/test/spinning_line_test.dart @@ -0,0 +1,23 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_spinkit/flutter_spinkit.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import 'helpers.dart'; + +void main() { + group("SpinningLines", () { + testWidgets('works with color', (WidgetTester tester) async { + await tester.pumpWidget(createMaterialApp(SpinKitSpinningLines(color: Colors.white))); + expect(find.byType(SpinKitSpinningLines), findsOneWidget); + expect(find.byType(CustomPaint), findsWidgets); + tester.verifyTickersWereDisposed(); + }); + + testWidgets('works without Material', (WidgetTester tester) async { + await tester.pumpWidget(createWidgetsApp(SpinKitSpinningLines(color: Colors.white))); + expect(find.byType(SpinKitSpinningLines), findsOneWidget); + expect(find.byType(CustomPaint), findsWidgets); + tester.verifyTickersWereDisposed(); + }); + }); +} From 5f2b14c5d88798ac3abff2a0e01f14acad6a9f22 Mon Sep 17 00:00:00 2001 From: Jogboms Date: Sat, 28 Aug 2021 10:56:55 +0200 Subject: [PATCH 6/7] Update changelog --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e1fe84a..1e0729b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ A collection of loading indicators animated with flutter. Heavily inspired by @tobiasahlin's SpinKit. +## 5.1.0 + +- Renamed `SpinKitPouringHourglass` -> `SpinKitPouringHourGlass` for correctness +- Fix `SpinKitFoldingCube` animation +- Fix disposing of non-local animation controllers +- Introduced `strokeWidth` to pouring glass animation +- Introduced `SpinKitPouringHourGlassRefined` +- Introduced `SpinKitSpinningLines` +- Introduced `SpinKitPianoWave` +- Introduced `SpinKitDancingSquare` +- Introduced `SpinKitThreeInOut` + ## 5.0.0 - Migrate to null safety From 3ec9c034bbdcc93ebf3b05f2750a2d60cc6e7de9 Mon Sep 17 00:00:00 2001 From: Jogboms Date: Sat, 28 Aug 2021 11:43:51 +0200 Subject: [PATCH 7/7] Bump version to v5.1.0 --- README.md | 2 +- example/pubspec.lock | 2 +- pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 73ad4f9..dc0849d 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A collection of loading indicators animated with flutter. Heavily inspired by [@ ```yaml dependencies: - flutter_spinkit: ^5.0.0 + flutter_spinkit: ^5.1.0 ``` ### ⚡️ Import diff --git a/example/pubspec.lock b/example/pubspec.lock index 5d9a4d1..c54c897 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -61,7 +61,7 @@ packages: path: ".." relative: true source: path - version: "5.0.0" + version: "5.1.0" flutter_test: dependency: "direct dev" description: flutter diff --git a/pubspec.yaml b/pubspec.yaml index 93e168a..98c161c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_spinkit description: A collection of loading indicators animated with flutter. Heavily inspired by @tobiasahlin's SpinKit. -version: 5.0.0 +version: 5.1.0 homepage: https://github.com/jogboms/flutter_spinkit environment: