didUpdateWidget method
Override this method to respond to when the StatefulWidget is recreated.
Implementation
void didUpdateWidget(covariant StatefulWidget oldWidget) {
/// The framework always calls build() after calling [didUpdateWidget], which
/// means any calls to [setState] in [didUpdateWidget] are redundant.
}