ActivityBarrier constructor

const ActivityBarrier({
  1. Key? key,
  2. required Duration duration,
  3. Color? barrierColor,
  4. required WidgetBuilder busyBuilder,
  5. bool isBusy = false,
  6. required Widget child,
})

Creates a widget that add an activity indicator overlay that prevents the user from interacting with widgets behind itself.

Implementation

const ActivityBarrier({
  super.key,
  required this.duration,
  this.barrierColor,
  required this.busyBuilder,
  this.isBusy = false,
  required this.child,
});