Eğer, kullanacağımız ekranda widgetlarda değişiklik olacaksa bunu Stateful widget kullanarak oluştururuz. Değişken yapılarla, durumsal bir haldir yani belirli durumlara sahiptir. Örnek olarak, ekranda bir saat göstermek istersek veya sayaçlı bir sistem gibi sürekli değişen değerlerde, stateful widget kullanırız.
Read moreFlutter kanalları nedir?
Flutter , Google tarafından geliştirilen ve Mayıs 2017’de yayınlanan ücretsiz, açık kaynak kodlu bir cross platform geliştirme SDK’sıdır. Flutter , Dart adında bir programlama dili kullanılır. Dart, Google tarafından 2011’de oluşturulmuş, her geçen yıl kendini geliştirerek yoluna devam etmiştir.1 Ara 2020
Read moreWhat is BuildContext context?
BuildContext is, like it’s name is implying, the context in which a specific widget is built . If you’ve ever done some React before, that context is kind of similar to React’s context (but much smoother to use) ; with a few bonuses.4 Mar 2018
Read moreWhat is the scaffold in Flutter?
Scaffold is a class in flutter which provides many widgets or we can say APIs like Drawer, SnackBar, BottomNavigationBar, FloatingActionButton, AppBar etc. Scaffold will expand or occupy the whole device screen. It will occupy the available space.
Read moreBloc flutter nedir?
BLOC Pattern Nedir ? Bloc pattern; Business Logic Component’in kısaltmasıdır. Flutter ‘ın UI reactive modelinden yararlanan, Flutter uygulamalarında durumu yönetmenin daha basit ve yeniden kullanılabilir bir yolu olarak düşünülebilir.
Read moreIs BLoC pattern necessary?
This is where the bloc package comes into play. It provides all core classes that are necessary to use the pattern . I would absolutely recommend to use it instead of implementing your own solution.
Read moreHow do you learn BLoC pattern Flutter?
Create an event stream and counter stream inside CounterBloc . Listen to the event stream to perform business logic when new events are added to the stream. Create an object of CounterBloc inside MyHomePageState. To rebuild the widget when new data arrives into the stream we will wrap Text widget with StreamBuilder.
Read more