What is a Statelesswidget?

Stateless Widget: The widgets whose state can not be altered once they are built are called stateless widgets. These widgets are immutable once they are built i.e any amount of change in the variables, icons, buttons, or retrieving data can not change the state of the app.

Read more

Constructor Nedir dart?

Constructors , sınıfların kurucu görevi taşıyan fonsiyonlarıdır. Dart dilinde isimli ve isimsiz olarak iki farklı kullanımı vardır. Bir sınıftan herhangi bir constructor kullanarak bir nesne oluşturulabilir. Bu nesneyi oluşturan fonksiyon o sınıfın kurucu fonksiyonu olarak tanımlanır.

Read more

Constructor Nedir flutter?

Constructor metod sınıfın ismiyle aynı ismi taşır. Gördüğümüz kısım constructor ‘dır. Yapıcı metodlar bir sınıftan nesne türetildiği anda çalışırlar. Yani nesne türetilir türetilmez yapılmasını istediğimiz bir işlem varsa bu metod içine yazılabilir.

Read more