Flutter setState() and Callback Function(with parameters) for Passing Data Between Classes

Channel:
Subscribers:
135,000
Published on ● Video Link: https://www.youtube.com/watch?v=zq-JGQxNwtU



Duration: 15:45
27,993 views
636


In this tut, we will learn how to use setstate() and callback function for passing data between classes and widget rebuild. We will see how to call callback function and do widget rebuild using setstate. It's also the communication to another class. This covers for
1. setstate basic state management,
2. Call a method for another class
3. Call setstate from another class
4. Callback to parent
5. Callback with parameters
6. Flutter callback widget

Complete code here
https://learnflutter.co/flutter-setstate-and-callback-function/




Other Videos By dbestech


2021-11-18Flutter Wrap & List.generate | Generate Dynamic Widgets | Row & Column Layout
2021-11-16Truly Responsive Flutter Widget | A Responsive Button | Layouts of Responsive UI
2021-11-16Flutter Widget Takes All Available Space | Row | Flexible vs Expanded
2021-11-15Flutter BottomNavigationBar Failed assertion '!_needsLayout': is not true. | onTap Event
2021-11-15Flutter Bottom Navigation Bar Background Color Not Working (Solved) | BottomNavigationBarType.fixed
2021-11-15Flutter Reusable Custom Widgets | Reuse Buttons & Components
2021-11-13Flutter Dart Double Dots ..| Dart Operators | Cascading
2021-11-13Flutter TabBar and TabBarView Without Scaffold & AppBar | Custom Indicator & TabBarController
2021-11-10Flutter Provider and ChangeNotifier With Listener for State Management | Example
2021-11-07Laravel 8 | Multi Language Websites With Laravel Route Groups |The Easiest & Efficient Way
2021-11-05Flutter setState() and Callback Function(with parameters) for Passing Data Between Classes
2021-11-03Flutter Firebase App Setup Tutorial & Getx Authentication | Using Email & Password | Part 2
2021-11-01Flutter Firebase App | Step by Step for Beginners to Advanced | Login & Sign up | Auth Page - Part 1
2021-10-30Simplest Explanation Flutter BLoc Pattern | States and Events | mapEventToState
2021-10-29Pubspec.yaml error A package may not list itself as a dependency.
2021-10-23Flutter Multiple Selection | Filter ListView Category Using Map Where() & Contain() | Getx
2021-10-21Flutter Local Notifications & Sqflite Explained Step by Step | Part 3
2021-10-15Flutter Payment App | Laravel Backend Admin Panel | GetX Rest API | Getx Obs and Obx
2021-10-06Must Know Dart List and Map for Flutter App Dev | forEach() map() toList()
2021-10-02Flutter Payment App | App Development Tutorial for Beginners for iOS and Android from Scratch
2021-09-23Flutter App Using Sqlite & Sqflite CRUD With Local Scheduled Notifications | GetX Listview | Part 2



Tags:
flutter setstate example
flutter setstate callback
flutter callback function