How do I notify widgets in Flutter?

And as with more things in Flutter, you listen to a Notification using another Widget: NotificationListener. var widget = Scaffold( body: NotificationListener<ScrollNotification>( onNotification: (notification) { //do things with the notification here return true; }, child: Container( child: …, ), ), );

Sizin İçin Seçtik  What is Block provider in Flutter?

Leave a Reply

Your email address will not be published. Required fields are marked *

How do I notify widgets in Flutter?

And as with more things in Flutter, you listen to a Notification using another Widget: NotificationListener. var widget = Scaffold( body: NotificationListener<ScrollNotification>( onNotification: (notification) { //do things with the notification here return true; }, child: Container( child: …, ), ), );

Sizin İçin Seçtik  What is cross-platform desktop applications?

Leave a Reply

Your email address will not be published. Required fields are marked *