Roaa 🦄💙 Profile picture
Software Engineer @widgetbook_io | #Flutter/Dart @GoogleDevExpert | 📃 https://t.co/MnhXzeHUZK
Apr 18, 2022 9 tweets 5 min read
#Flutter Animation guide 📑

1️⃣ Implicit - AnimatedFoo & TweenAnimationBuilder
2️⃣ Explicit - FooTransition, AnimatedBuilder & AnimatedWidget

1️⃣.1️⃣ Implicit - Ready-to-use
Add ‘Animated’ to a regular widget (Container, Positioned, .etc) with a duration and you’re good to go!

1/7 1️⃣.2️⃣ Implicit Animations - Custom

No AnimatedFoo widget fits your requirements and you still want something quick to set up? Use the #TweenAnimationBuilder widget! Simply changing the Tween values triggers an animation.

Use the child param for better performance!

2/7
Dec 26, 2021 7 tweets 3 min read
Class constructors in #Dart
With some #Flutter use cases 💙

1️⃣ Generative Constructors
2️⃣ Constant Constructors
3️⃣ Named Constructors
4️⃣ Redirecting Constructors
5️⃣ Factory Constructors

A thread 🧵
#DartDev #FlutterDev #OOP 1️⃣ Generative Constructor
Most common form, initializes Class variables Image