GiantToadPixelButton constructor

const GiantToadPixelButton({
  1. required VoidCallback? onPressed,
  2. String? label,
  3. Widget? child,
  4. Key? key,
  5. bool autofocus = false,
  6. bool selected = false,
  7. String? semanticLabel,
  8. String? tooltip,
  9. FocusNode? focusNode,
  10. ValueChanged<bool>? onFocusChange,
})

Implementation

const GiantToadPixelButton({
  required this.onPressed,
  this.label,
  this.child,
  super.key,
  this.autofocus = false,
  this.selected = false,
  this.semanticLabel,
  this.tooltip,
  this.focusNode,
  this.onFocusChange,
}) : assert(label != null || child != null);