Skip to content

Commit 22c76f3

Browse files
Fixed Flips and Animations
1 parent 0c32c00 commit 22c76f3

File tree

2 files changed

+94
-54
lines changed

2 files changed

+94
-54
lines changed

.idea/workspace.xml

Lines changed: 87 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/main.dart

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,17 @@ class _MyHomePageState extends State<MyHomePage> {
4242
padding: const EdgeInsets.only(top: 100.0),
4343
child: new Column(
4444
children: <Widget>[
45-
Divider(height: 200.0, color: Colors.white,),
45+
Divider(height: 20.0, color: Colors.white,),
4646
ColorLoader(
4747
colors: colors,
4848
duration: Duration(milliseconds: 1200)
4949
),
50-
Divider(height: 150.0, color: Colors.white,),
51-
FlipLoader(loaderBackground: Colors.black, iconColor: Colors.red, icon: Icons.strikethrough_s, animationType: "full_flip"),
52-
Divider(height: 150.0, color: Colors.white),
53-
FlipLoader(loaderBackground: Colors.blueAccent, iconColor: Colors.orangeAccent, icon: Icons.subway, animationType: "half_flip"),
50+
Divider(height: 100.0, color: Colors.white,),
51+
FlipLoader(loaderBackground: Colors.red, iconColor: Colors.white, icon: Icons.email, animationType: "full_flip"),
52+
Divider(height: 100.0, color: Colors.white),
53+
FlipLoader(loaderBackground: Colors.blueAccent, iconColor: Colors.orangeAccent, icon: Icons.subway, animationType: "half_flip", rotateIcon: true,),
54+
Divider(height: 100.0, color: Colors.white),
55+
FlipLoader(loaderBackground: Colors.green, iconColor: Colors.white, icon: Icons.wifi, animationType: "half_flip", shape: "circle", rotateIcon: false,),
5456
],
5557
),
5658
),

0 commit comments

Comments
 (0)