HelpButton constructor
const
HelpButton({
- Key? key,
- Color? color,
- Color? disabledColor,
- VoidCallback? onPressed,
- double? pressedOpacity = 0.4,
- AlignmentGeometry alignment = Alignment.center,
- String? semanticLabel,
- MouseCursor? mouseCursor = SystemMouseCursors.basic,
pressedOpacity, if non-null, must be in the range if 0.0 to 1.0
Implementation
const HelpButton({
super.key,
this.color,
this.disabledColor,
this.onPressed,
this.pressedOpacity = 0.4,
this.alignment = Alignment.center,
this.semanticLabel,
this.mouseCursor = SystemMouseCursors.basic,
}) : assert(pressedOpacity == null ||
(pressedOpacity >= 0.0 && pressedOpacity <= 1.0));