Skip to content

Commit

Permalink
change effect
Browse files Browse the repository at this point in the history
  • Loading branch information
MH0386 committed Jul 15, 2024
1 parent 00a05fe commit cfb050b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 39 deletions.
10 changes: 4 additions & 6 deletions lib/Pages/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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),
),
],
Expand All @@ -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),
),
],
Expand Down
8 changes: 4 additions & 4 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
29 changes: 0 additions & 29 deletions test/widget_test.dart

This file was deleted.

0 comments on commit cfb050b

Please sign in to comment.