Add the following dependencies to your pubspec. yaml file, then run flutter pub get .
Read moreReact Native nasıl çalışır?
React Native , ReactJS syntaxi ile yazdığınız JS kodundan köprüler aracılığı ile native view’lar oluşturuyor. JS kodunuz JS thread’de çalışırken native thread’e (UI thread) async istekler gönderiyor. Native taraf hazır olduğunda istenen native viewları native thread’de render ediyor, update ediyor vs.
Read moreStateless vs Stateful nedir?
Örnek verecek olursak Text bir stateless widget’dir ve uygulama oluştuğu anda biz onu ekranın en tepesine koyarız, onunla herhangi bir işlem yapmayız ve o hala orada durmaya devam eder. Ta ki uygulama kapatılana kadar. Stateful ise değişken halinde olabilecek widget’ler için kullanılır.
Read moreFlutter Widgets nedir?
Nedir bu widget ? Flutter ‘da neredeyse her şey widget ‘tır ve widget dediğimiz kavram bize hazır olarak verilmiş bileşenlerdir. Her bir arayüz elemanı gibi birçok yapı birer widget olarak geçer. Flutter ‘ın widget özelliklerine ve örneklerine bakmak için widget kataloğunu inceleyebilirsiniz.15 Nis 2020
Read moreMaterialapp Flutter 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 moreWhat is context in Dart?
context is a BuildContext instance which gets passed to the builder of a widget in order to let it know where it is inside the Widget Tree of your app . One of the common uses is passing it to the of method when using an Inherited Widget.
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 more