initstate in widget tree flutter 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
}