fab method
FloatingActionButton
fab({
- Key? key,
- String? tooltip,
- Color? foregroundColor,
- Color? backgroundColor,
- Color? focusColor,
- Color? hoverColor,
- Color? splashColor,
- Object? heroTag,
- double? elevation,
- double? focusElevation,
- double? hoverElevation,
- double? highlightElevation,
- double? disabledElevation,
- VoidCallback? onPressed,
- MouseCursor? mouseCursor,
- ShapeBorder? shape,
- bool isExtended = false,
- MaterialTapTargetSize? materialTapTargetSize,
- Clip clip = Clip.none,
- FocusNode? focusNode,
- bool autofocus = false,
- bool? enableFeedback,
Implementation
FloatingActionButton fab({
Key? key,
String? tooltip,
Color? foregroundColor,
Color? backgroundColor,
Color? focusColor,
Color? hoverColor,
Color? splashColor,
Object? heroTag,
double? elevation,
double? focusElevation,
double? hoverElevation,
double? highlightElevation,
double? disabledElevation,
VoidCallback? onPressed,
MouseCursor? mouseCursor,
ShapeBorder? shape,
bool isExtended = false,
MaterialTapTargetSize? materialTapTargetSize,
Clip clip = Clip.none,
FocusNode? focusNode,
bool autofocus = false,
bool? enableFeedback,
}) =>
FloatingActionButton(
key: key,
tooltip: tooltip,
foregroundColor: foregroundColor,
backgroundColor: backgroundColor,
onPressed: onPressed,
focusColor: focusColor,
hoverColor: hoverColor,
heroTag: heroTag,
elevation: elevation,
focusElevation: focusElevation,
hoverElevation: hoverElevation,
splashColor: splashColor,
highlightElevation: highlightElevation,
disabledElevation: disabledElevation,
mouseCursor: mouseCursor,
shape: shape,
isExtended: isExtended,
materialTapTargetSize: materialTapTargetSize,
clipBehavior: clip,
focusNode: focusNode,
autofocus: autofocus,
enableFeedback: enableFeedback,
child: this,
);