diff --git a/lib/Pages/home.dart b/lib/Pages/home.dart index 2ec1933..50fe3c7 100644 --- a/lib/Pages/home.dart +++ b/lib/Pages/home.dart @@ -179,10 +179,9 @@ class Home extends StatelessWidget { mainAxisAlignment: MainAxisAlignment.center, children: [ Animate( - onPlay: (controller) => controller.repeat(), + // onPlay: (controller) => controller.repeat(), effects: const [ - ShimmerEffect( - color: Colors.red, + FadeEffect( duration: Duration(seconds: 5), ), ], @@ -200,10 +199,9 @@ class Home extends StatelessWidget { ), ), Animate( - onPlay: (controller) => controller.repeat(), effects: const [ - ShimmerEffect( - color: Colors.red, + FadeEffect( + delay: Duration(seconds: 1), duration: Duration(seconds: 5), ), ], diff --git a/pubspec.lock b/pubspec.lock index 919ed6d..3f8417b 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -521,10 +521,10 @@ packages: dependency: transitive description: name: url_launcher_ios - sha256: "7068716403343f6ba4969b4173cbf3b84fc768042124bc2c011e5d782b24fe89" + sha256: e43b677296fadce447e987a2f519dcf5f6d1e527dc35d01ffab4fff5b8a7063e url: "https://pub.dev" source: hosted - version: "6.3.0" + version: "6.3.1" url_launcher_linux: dependency: transitive description: @@ -569,10 +569,10 @@ packages: dependency: transitive description: name: uuid - sha256: "814e9e88f21a176ae1359149021870e87f7cddaf633ab678a5d2b0bff7fd1ba8" + sha256: "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90" url: "https://pub.dev" source: hosted - version: "4.4.0" + version: "4.4.2" vector_graphics: dependency: transitive description: diff --git a/test/widget_test.dart b/test/widget_test.dart deleted file mode 100644 index 0599055..0000000 --- a/test/widget_test.dart +++ /dev/null @@ -1,29 +0,0 @@ -// This is a basic Flutter widget test. -// -// To perform an interaction with a widget in your test, use the WidgetTester -// utility in the flutter_test package. For example, you can send tap and scroll -// gestures. You can also use WidgetTester to find child widgets in the widget -// tree, read text, and verify that the values of widget properties are correct. -// -// import 'package:flutter/material.dart'; -// import 'package:flutter_test/flutter_test.dart'; -// import 'package:MH0386/main.dart'; -// -// void main() { -// testWidgets('Counter increments smoke test', (WidgetTester tester) async { -// // Build our app and trigger a frame. -// await tester.pumpWidget(const MyApp()); -// -// // Verify that our counter starts at 0. -// expect(find.text('0'), findsOneWidget); -// expect(find.text('1'), findsNothing); -// -// // Tap the '+' icon and trigger a frame. -// await tester.tap(find.byIcon(Icons.add)); -// await tester.pump(); -// -// // Verify that our counter has incremented. -// expect(find.text('0'), findsNothing); -// expect(find.text('1'), findsOneWidget); -// }); -// }