ifRunning method
ifRunning
Shows busyIndicator
when activeController is Running a long task
Implementation
Widget ifRunning(Widget busyIndicator, {required Widget otherwise}) {
return isRunning ? busyIndicator : otherwise;
}
ifRunning
Shows busyIndicator
when activeController is Running a long task
Widget ifRunning(Widget busyIndicator, {required Widget otherwise}) {
return isRunning ? busyIndicator : otherwise;
}