Caraguna
  • Home
  • Investasi
  • Teknologi
  • Jaringan
  • Berita
  • Blogging
  • Property
No Result
View All Result
Caraguna
  • Home
  • Investasi
  • Teknologi
  • Jaringan
  • Berita
  • Blogging
  • Property
No Result
View All Result
Caraguna
No Result
View All Result
getx vs bloc

GetX VS Bloc: Which One is Best For Flutter App Development?

Bauroziq by Bauroziq
October 15, 2022
in Mobile
0
Share on FacebookShare on Twitter

Flutter is the only toolkit that focuses mainly on how to show your Stateful or Stateless widgets but doesn’t solve a lot of problems with state management or architecture design of your application like some other frameworks.

Yet, numerous new mobile app developers can be confused with picking various packages for solving state management problems so I decided to make this overview of the most popular Flutter state management packages with a small description of them.

You might also like

membuat package sendiri flutter

Membuat Package Sendiri di Flutter dengan Mudah

May 2, 2023
video call zegocloud

Video Call: Membuat Aplikasi Video Call Flutter dengan Zegocloud

April 25, 2023

BLOC (Business Logic Component)

Bloc is probably the most popular state management solution which makes learn your architectural pattern: Presentation, Bussiness Logic, Data (Repository, Provider).

Pros

  • Easy for a separate presentation from business logic
  • Great documentation with many examples
  • Dependency injection: Uses Provider internally to make it easy to provide and access blocs throughout the widget tree.
  • Can persist and restore states
  • Support for undo and redo states
  • Widely used by the Flutter community
  • Active development with many sponsors

GetX

GetX is the second most famous state management solution and exceptionally quickly developing in popularity. Is also the most controversial and evoking conflict in the Flutter developer community because many developers hate this package due to antipatterns, bad testability, or documentation, but many developers also love it due to its simplicity and very shortcode which you write so then you feel more productive.

Furthermore, there is a conversation between the creator of GetX and creators of other state management solutions (Bloc and Provider) which probably causes much hate in the Flutter community against GetX.

Pros

  • Very simple for new Flutter developers
  • Very shortcode
  • Big popularity
  • Solving also dependency injection

Cons

  • The package is solving a number of things: Vendor gets into just a single huge bundle
  • With no sponsors: When the writer stops backing this bundle so you can modify entire your application without any preparation
  • The too big package which has an excessive number of issues
  • When you find some issue you can wait a too very long time for a fix
  • At the point when you discover some issue you can stand by too extremely long timespan for fix
  • Bad reputation in Flutter community
  • Documentation isn’t genuine

Closure

Flutter app development enables companies to get versatile solutions while resolving many common issues. Startups and SMEs can also tap into opportunities with customized and feature-rich apps that can easily run on Apple and Android devices.

Tags: blocgetx
Bauroziq

Bauroziq

Write for share about latest technology.

Related Stories

membuat package sendiri flutter

Membuat Package Sendiri di Flutter dengan Mudah

by Bauroziq
May 2, 2023
0

Flutter adalah sebuah framework untuk membangun aplikasi lintas platform yang memanfaatkan bahasa pemrograman Dart. Membuat package sendiri di Flutter dapat...

video call zegocloud

Video Call: Membuat Aplikasi Video Call Flutter dengan Zegocloud

by Bauroziq
April 25, 2023
0

Video call telah menjadi salah satu hal yang sangat dibutuhkan dalam kehidupan sehari-hari. Video call adalah salah satu fitur yang...

Aplikasi Cek Ongkir

10 Rekomendasi Aplikasi Cek Ongkir & Resi Terbaik dan Terpopuler

by Bauroziq
February 9, 2023
0

Cek ongkir sudah tidak hanya terbatas pada situs perusahaan ekspedisi saja, kini bisa dilakukan melalui aplikasi ponsel pintar. Aplikasi ini...

stream builder

Konsep Dasar Stream pada Flutter

by Bauroziq
January 11, 2023
0

Dalam Flutter, Stream adalah sebuah objek yang mewakili aliran data yang dapat diterima secara asynchronous. Anda dapat mendengarkan stream dengan...

Next Post
perbedaan unicorn decacorn dan hectocorn

Ternyata Ini Bedanya Startup Unicorn, Decacorn, dan Hectocorn

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Caraguna

Caraguna adalah sebuah situs yang menyediakan berbagai informasi seputar dunia teknologi informasi. Seperti penggunaan dari sebuah library, tools, hardware, software, dan lain-lain.

  • Teknologi
  • SEO
  • Sitemap
  • Resep Masakan
  • Kerja Sama
  • Contact Us

© 2023 Caraguna - Informasi Seputar Teknologi Informasi.

No Result
View All Result
  • Home
  • Teknologi
  • Komputer
  • Framework
  • Jaringan
  • Blogging
  • Investasi

© 2023 Caraguna - Informasi Seputar Teknologi Informasi.