GiantToadPixelButton constructor
const
GiantToadPixelButton({
- required VoidCallback? onPressed,
- String? label,
- Widget? child,
- Key? key,
- bool autofocus = false,
- bool selected = false,
- String? semanticLabel,
- String? tooltip,
- FocusNode? focusNode,
- ValueChanged<
bool> ? onFocusChange, - bool joinLeft = false,
- bool joinRight = false,
- bool squareCorners = false,
- bool compact = false,
- 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);