Should you init your state before super.initState() or after? [Flutter]

Описание к видео Should you init your state before super.initState() or after? [Flutter]

I have noticed that it is confusing to some people if they should write they initialization code for the state of StatefulWidget before or after the super call. This short video will answer that question.

See also:
State object explained:    • Flutter's State Object Explained  

#flutter #dart

Комментарии

Информация по комментариям в разработке