FlashButton constructor

const FlashButton({
  1. Key? key,
  2. required VoidCallback onPress,
  3. required bool on,
  4. EdgeInsets padding = EdgeInsets.zero,
})

Creates the button.

Implementation

const FlashButton({
  super.key,
  required this.onPress,
  required this.on,
  this.padding = EdgeInsets.zero,
});