RepeatButton constructor
- Key? key,
- required Widget child,
- required VoidCallback onPressed,
- Duration initialDelay = const Duration(milliseconds: 300),
- Duration repeatDelay = const Duration(milliseconds: 100),
Implementation
const RepeatButton({
Key? key,
required this.child,
required this.onPressed,
this.initialDelay = const Duration(milliseconds: 300),
this.repeatDelay = const Duration(milliseconds: 100),
}) : super(key: key);