SeniorLinearLongPressButton constructor
const
SeniorLinearLongPressButton({
- Key? key,
- bool busy = false,
- required String busyMessage,
- required IconData icon,
- required int duration,
- bool fullLength = false,
- required String label,
- required VoidCallback onSubmit,
- VoidCallback? onTapDown,
- VoidCallback? onTapUp,
Creates the Long Press Button component of the design system. The icon, duration and onSubmit parameters are required.
Implementation
const SeniorLinearLongPressButton({
Key? key,
this.busy = false,
required this.busyMessage,
required this.icon,
required this.duration,
this.fullLength = false,
required this.label,
required this.onSubmit,
this.onTapDown,
this.onTapUp,
}) : super(key: key);