Barrier constructor

const Barrier({
  1. Key? key,
  2. required Widget child,
  3. Color? valueColor,
  4. Color? backgroundColor,
  5. Duration timeout = const Duration(milliseconds: 200),
  6. Duration switchDuration = const Duration(milliseconds: 100),
})

Implementation

const Barrier({
  super.key,
  required this.child,
  this.valueColor,
  this.backgroundColor,
  this.timeout = const Duration(milliseconds: 200),
  this.switchDuration = const Duration(milliseconds: 100),
});