Flutter 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 more

Statefulwidget nedir?

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 more

What is Cubit in BLoC?

A Cubit is similar to Bloc but has no notion of events and relies on methods to emit new states . Every Cubit requires an initial state which will be the state of the Cubit before emit has been called. The current state of a Cubit can be accessed via the state getter.

Read more

What is BlocBuilder Flutter?

BlocBuilder. BlocBuilder is a Flutter widget which requires a bloc and a builder function . BlocBuilder handles building the widget in response to new states. BlocBuilder is very similar to StreamBuilder but has a more simple API to reduce the amount of boilerplate code needed.

Read more

How 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