Mo Malaka πŸ’™ Profile picture
Mar 2 β€’ 10 tweets β€’ 3 min read
πŸ’™ Flutter State Management πŸ’™

In Flutter State is whatever data you need in order to rebuild your UI at any moment in time.

below are some of the most popular packages used for state management in #Flutter

1/n
πŸ§΅πŸ‘‡
1️⃣ setState

The low-level approach to use for widget-specific, ephemeral state. You can simply use Statefulwidget and setState() method to get state.

docs.flutter.dev/development/ui…

2/n
πŸ§΅πŸ‘‡
2️⃣ InheritedWidget & InheritedModel

The low-level approach used to communicate between ancestors and children in the widget tree.

api.flutter.dev/flutter/widget…

3/n
πŸ§΅πŸ‘‡
3️⃣ Provider

A wrapper around InheritedWidgets to make them more reusable and easy to use.

pub.dev/packages/provi…

4/n
πŸ§΅πŸ‘‡
4️⃣ Riverpod

Reactive State-Management and Dependency Injection Framework with no dependency on Flutter.

riverpod.dev

5/n
πŸ§΅πŸ‘‡
5️⃣ BLoC

BloC makes it easy to implement the Business Logic Component design pattern, which separates presentation from business logic.

pub.dev/packages/flutt…

6/n
πŸ§΅πŸ‘‡
6️⃣ GetIt

A service locator-based state management approach that doesn’t need a BuildContext.

pub.dev/packages/get_it

7/n
πŸ§΅πŸ‘‡
7️⃣ Mobx

MobX is a state-management library based on observables and reactions.

pub.dev/packages/mobx

8/n
πŸ§΅πŸ‘‡
8️⃣ GetX

A simplified reactive state management solution.

pub.dev/packages/get

9/n
πŸ§΅πŸ‘‡
Thanks for checking this out!

1. Follow @_Mo_Malaka_ for more such threads.

2. Retweet the first tweet to spread awareness.

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with Mo Malaka πŸ’™

Mo Malaka πŸ’™ Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @_Mo_Malaka_

Feb 28
πŸ’™ Are you a Flutter Developer? πŸ’™

A list of useful VS Code Extensions for Flutter Developers 🀩πŸ”₯πŸš€

1/n
🧡 πŸ‘‡
#Flutter #VSCode
πŸ” Pubspec Assist: This extension allows you to search for packages without having to leave the editor and then adds them to the pubspec.yaml file

marketplace.visualstudio.com/items?itemName…

2/n
🧡 πŸ‘‡
πŸŽ‰ Awesome Flutter Snippets: This extension is a collection of commonly used Flutter classes and methods.

marketplace.visualstudio.com/items?itemName…

3/n
🧡 πŸ‘‡
Read 8 tweets
Feb 15
πŸ’™ Are you a Flutter Developer? πŸ’™

Expanded is a widget that expands a child of a Row, Column, or Flex so that the child fills the available space. Let me show you how to use the expanded widget to create
screen responsive layouts in Flutter

🀩πŸ”₯πŸš€

1/n
🧡 πŸ‘‡

#flutter
🌟 Use Expanded widget inside a Column widget

When we use Expanded widget inside a Column Widget, it takes the screen height as the available space and divides it equally

2/n
🧡 πŸ‘‡ ImageImage
🌟 Use Expanded widget inside a Column widget

You can use the Flex attribute for each of the expanded widgets to determine the screen ratio in which that widget is acquired.

3/n
🧡 πŸ‘‡ ImageImage
Read 6 tweets
Nov 22, 2021
I love the new features from @AWSAmplify! Huge shout-out to the engineers working on this, It's so great to see that they are constantly improving their product.

Below, I summarize last week's launches

1/n
πŸš€ NEW Override @AWSAmplify-generated resources

aws.amazon.com/blogs/mobile/o…

2/n
πŸš€ NEW Extend @AWSAmplify backends with custom AWS resources using AWS CDK or @AWSCloudFormer

aws.amazon.com/blogs/mobile/e…

3/n
Read 7 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(