flutter run initstate method code example
Example: initstate flutter
@override
void initState() {
super.initState();
///whatever you want to run on page build
}
@override
void initState() {
super.initState();
///whatever you want to run on page build
}