setState method
Implementation
void setState(VoidCallback fn) {
// _statefulKey.currentState?.setState(fn);
(_statefulKey.currentState?.context as StatefulElement?)?.markNeedsBuild();
}
void setState(VoidCallback fn) {
// _statefulKey.currentState?.setState(fn);
(_statefulKey.currentState?.context as StatefulElement?)?.markNeedsBuild();
}