markNeedsBuild method
Cause this entry to rebuild during the next pipeline flush.
You need to call this function if the output of builder has changed.
Implementation
@override
void markNeedsBuild() {
if (ambiguate(SchedulerBinding.instance)!.schedulerPhase ==
SchedulerPhase.persistentCallbacks) {
ambiguate(SchedulerBinding.instance)!.addPostFrameCallback((_) {
super.markNeedsBuild();
});
} else {
super.markNeedsBuild();
}
}