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,
  11. bool joinLeft = false,
  12. bool joinRight = false,
  13. bool squareCorners = false,
  14. bool compact = false,
  15. bool showDepth = true,
})

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,
  this.joinLeft = false,
  this.joinRight = false,
  this.squareCorners = false,
  this.compact = false,
  this.showDepth = true,
}) : assert(label != null || child != null);