LoadingDebouncedSwitcher constructor

const LoadingDebouncedSwitcher({
  1. Key? key,
  2. required bool loading,
  3. Duration duration = const Duration(milliseconds: 250),
  4. Duration? debounceTime,
  5. required Widget loadingWidget,
  6. required Widget child,
})

Implementation

const LoadingDebouncedSwitcher({
  Key? key,
  required this.loading,
  this.duration = const Duration(milliseconds: 250),
  this.debounceTime,
  required this.loadingWidget,
  required this.child,
}) : super(key: key);