FlashButton constructor
const
FlashButton({
- Key? key,
- required VoidCallback onPress,
- required bool on,
- EdgeInsets padding = EdgeInsets.zero,
Creates the button.
Implementation
const FlashButton({
super.key,
required this.onPress,
required this.on,
this.padding = EdgeInsets.zero,
});