DebouncedButton constructor

const DebouncedButton({
  1. required Widget builder(
    1. bool isEnabled
    ),
  2. required VoidCallback onTap,
  3. Duration debounce = const Duration(milliseconds: 200),
  4. Key? key,
})

Implementation

const DebouncedButton({
  required this.builder,
  required this.onTap,
  this.debounce = const Duration(milliseconds: 200),
  Key? key,
}) : super(key: key);