Skip to content

Commit

Permalink
demo updated
Browse files Browse the repository at this point in the history
  • Loading branch information
iampawan committed May 29, 2023
1 parent c9eba81 commit 7b8085a
Show file tree
Hide file tree
Showing 8 changed files with 369 additions and 270 deletions.
4 changes: 2 additions & 2 deletions example/lib/examples/animated_box_example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class AnimatedBoxExampleState extends State<AnimatedBoxExample> {
void initState() {
super.initState();

Timer.periodic(5.seconds, (timer) {
Timer.periodic(2.seconds, (timer) {
setState(() {});
});
}
Expand All @@ -43,7 +43,7 @@ class AnimatedBoxExampleState extends State<AnimatedBoxExample> {
// Generate a random border radius.
_radius = random.nextInt(100).toDouble();
return VxAnimatedBox()
.seconds(sec: 5)
.seconds(sec: 2)
.fastOutSlowIn
.width(_width! + 50)
.height(_height!)
Expand Down
Loading

0 comments on commit 7b8085a

Please sign in to comment.