TimeoutSwitcher constructor

const TimeoutSwitcher({
  1. Key? key,
  2. required Widget timedOutChild,
  3. Widget initialChild = const SizedBox(),
  4. Duration timeout = const Duration(milliseconds: 200),
  5. Duration switchDuration = const Duration(milliseconds: 100),
})

Implementation

const TimeoutSwitcher({
  super.key,
  required this.timedOutChild,
  this.initialChild = const SizedBox(),
  this.timeout = const Duration(milliseconds: 200),
  this.switchDuration = const Duration(milliseconds: 100),
});