Materialapp nedir?

Material App uygulamanın ana ve en kapsayıcı olan alanıdır. Material tarzdaki geliştirmelerimiz için bize tüm widgetların dönüşünü veren en temek widgetlardan biridir. Koddaki durumuna bakacak olursak; Flutter’ın açılış kodu olan sayaç tasarımından örnek alabiliriz.

Read more

What does BuildContext mean?

A BuildContext is nothing else but a reference to the location of a Widget within the tree structure of all the Widgets which are built . In short, think of a BuildContext as the part of Widgets tree where the Widget is attached to this tree. A BuildContext only belongs to one widget.6 Ağu 2018

Read more

Why do we need BLoC Flutter?

Bloc is a design pattern created by Google to help separate business logic from the presentation layer and enable a developer to reuse code more efficiently . … It helps developers implement the Bloc design pattern in their Flutter application. It means that a developer must know the state of an app at any time.22 Eki 2021

Read more

What is BlocConsumer Flutter?

BlocConsumer exposes a builder and listener in order react to new states . BlocConsumer is analogous to a nested BlocListener and BlocBuilder but reduces the amount of boilerplate needed. BlocConsumer should only be used when it is necessary to both rebuild UI and execute other reactions to state changes in the bloc.

Read more