Skip to content

Commit 9bab55a

Browse files
committed
Day 20
1 parent ba7f78b commit 9bab55a

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

README.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,27 @@
44

55
learning flutter evry day.
66

7-
- 💼 Day 14
7+
- 💼 Day 20
88

9-
- 📈 [[■■■□□□□□□] 30%](https://www.tiktok.com/@bastndev)
9+
- 📈 [[■■■□□□□□□] 40%](https://www.tiktok.com/@bastndev)
1010

1111
- 💬 Ask me about anything [Here](https://github.com/bastndev/Flutter-ListView-1/issues)
1212

1313
## Light Mode 📱
1414
<!--Mockup-->
1515
<div align="center">
16-
<img src="https://github.com/bastndev/Screenshot-Mobile/blob/main/assets/img/on11.png" alt="">
16+
<img src="https://github.com/bastndev/Screenshot-Mobile/blob/main/assets/img/lightMode.png" alt="">
1717
</div>
1818

1919

2020
## Dark Mode 📱
2121
<div align="center">
22-
<img src="https://github.com/bastndev/Screenshot-Mobile/blob/main/assets/img/on12.png" alt="">
22+
<img src="https://github.com/bastndev/Screenshot-Mobile/blob/main/assets/img/darkMode.png" alt="">
23+
</div>
24+
25+
## Gif Mode 📱
26+
<div align="center">
27+
<img src="https://github.com/bastndev/Screenshot-Mobile/blob/main/assets/img/allMode.gif" alt="">
2328
</div>
2429

2530
<img src="https://user-images.githubusercontent.com/73097560/115834477-dbab4500-a447-11eb-908a-139a6edaec5c.gif">

lib/screens/animated_screen.dart

+7-6
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,21 @@ class _AnimatedScreenState extends State<AnimatedScreen> {
3737
title: const Text('Animated Container'),
3838
),
3939
body: Center(
40-
child: Container(
40+
child: AnimatedContainer(
41+
duration: const Duration(milliseconds: 500),
4142
width: _width,
4243
height: _height,
4344
decoration: BoxDecoration(
4445
color: _color,
4546
borderRadius: _borderRadius,
46-
)),
47+
)
48+
),
4749
),
4850
floatingActionButton: FloatingActionButton(
49-
child: Icon(
50-
Icons.play_circle_outline,
51-
size: 45,
52-
),
5351
onPressed: changeShape,
52+
child: const Icon(
53+
Icons.play_circle_outline,size: 45,
54+
),
5455
),
5556
);
5657
}

0 commit comments

Comments
 (0)