Barrier constructor

const Barrier({
  1. Key? key,
  2. required Widget child,
  3. required bool show,
  4. Duration switchDuration = const Duration(milliseconds: 300),
  5. Color? backgroundColor,
  6. bool useBoxIndicator = false,
  7. Color? boxBackgroundColor,
  8. Widget? boxWidget,
  9. String? label,
})

Implementation

const Barrier({
  super.key,
  required this.child,
  required this.show,
  this.switchDuration = const Duration(milliseconds: 300),
  // this.timeout = const Duration(seconds: 30),
  this.backgroundColor,
  this.useBoxIndicator = false,
  this.boxBackgroundColor,
  this.boxWidget,
  this.label,
});