A type of constructor in dart Go search about type of constructor in dart Srry my english is so weak.
thnx for ur help
Sometimes you might not want to make the body {} for ur constractor whether to instantiate ,or calling the methods .
To keep it simple you can use colon : and do different things by separating them using coma
thnx. and i found this "initializer list" https://flutterbyexample.com/lesson/initializer-lists-and-final-properties
Обсуждают сегодня