Widgets are the central class hierarchy in the Flutter framework. A widget is an immutable description of part of a user interface . Widgets can be inflated into elements, which manage the underlying render tree. Widgets themselves have no mutable state (all their fields must be final).
Read moreFlutter da widget nedir?
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 moreFlutter Center widget nedir?
Center widget ‘ı, merkez anlamına gelir. Yani, içine aldığı elemanı ekranın merkezine yerleştirir. Ve Center widget ‘ı sadece bir tane widget alabildiği için, child kullanır. Kodu Scaffold’da body kısmına yazarsanız, aşağıda gördüğümüz gibi içine aldığı Text widget ‘ının sayfanın merkezinde yer aldığını fark edebiliriz.
Read moreFlutter Drawer nedir?
Drawer Menu Türkçe anlamıyla çekmece menü bizim uygulamalarımızdaki sayfaları içerisine aldığımız ve ana sayfada üst tarafta bulunan ikona tıkladığımız zaman yandan açılan menülerdir. Bu tip menüleri daha çok fazla sayıda sayfa içeren uygulamalarda kullanırız.
Read moreContainer Flutter nedir?
Container ‘ı, Flutter ‘da istediğimiz gibi konumlandırabileceğimiz, şekillendirebileceğimiz ve içerisine nesneler yerleştirebileceğimiz kutular olarak tanımlayabiliriz.
Read moreWhat is difference between scaffold and MaterialApp in Flutter?
MaterialApp is a widget that introduces a number of widgets Navigator, Theme that are required to build a material design app. Scaffold Widget is used under MaterialApp, it gives you many basic functionalities, like AppBar, BottomNavigationBar, Drawer, FloatingActionButton, etc.
Read moreWhat is MaterialApp in Flutter?
MaterialApp is an extension of the generic top-level widget provided by Flutter: WidgetsApp . WidgetsApp is a convenience widget that abstracts away a number of features required for most mobile apps, such as setting up a navigator and using an app-wide theme.
Read more