updateView method
Implementation
Future<void> updateView() async {
await Future.delayed(const Duration(seconds: 2));
widget.callback(false, true);
}
Future<void> updateView() async {
await Future.delayed(const Duration(seconds: 2));
widget.callback(false, true);
}