large static method
SingleChildModifier
large({
- Key? key,
- Widget? child,
- Key? modifierKey,
- String? tooltip,
- Color? foregroundColor,
- Color? backgroundColor,
- Color? focusColor,
- Color? hoverColor,
- Color? splashColor,
- Object? heroTag,
- double? elevation,
- double? focusElevation,
- double? hoverElevation,
- double? highlightElevation,
- double? disabledElevation,
- required VoidCallback onPressed,
- MouseCursor? mouseCursor,
- ShapeBorder? shape,
- Clip clipBehavior = Clip.none,
- FocusNode? focusNode,
- bool autofocus = false,
- MaterialTapTargetSize? materialTapTargetSize,
- bool? enableFeedback,
Creates a large circular floating action button.
This constructor overrides the default size constraints of the floating action button.
The clipBehavior
and autofocus
arguments must not be null.
Additionally, elevation
, focusElevation
, hoverElevation
,
highlightElevation
, and disabledElevation
(if specified) must be
non-negative.
Implementation
static SingleChildModifier large({
Key? key,
Widget? child,
Key? modifierKey,
String? tooltip,
Color? foregroundColor,
Color? backgroundColor,
Color? focusColor,
Color? hoverColor,
Color? splashColor,
Object? heroTag,
double? elevation,
double? focusElevation,
double? hoverElevation,
double? highlightElevation,
double? disabledElevation,
required VoidCallback onPressed,
MouseCursor? mouseCursor,
ShapeBorder? shape,
Clip clipBehavior = Clip.none,
FocusNode? focusNode,
bool autofocus = false,
MaterialTapTargetSize? materialTapTargetSize,
bool? enableFeedback,
}) =>
_FloatingActionButtonModifierLarge(
key: key,
modifierKey: modifierKey,
materialTapTargetSize: materialTapTargetSize,
mouseCursor: mouseCursor,
shape: shape,
splashColor: splashColor,
tooltip: tooltip,
onPressed: onPressed,
autofocus: autofocus,
foregroundColor: foregroundColor,
backgroundColor: backgroundColor,
focusColor: focusColor,
hoverColor: hoverColor,
clipBehavior: clipBehavior,
disabledElevation: disabledElevation,
elevation: elevation,
enableFeedback: enableFeedback,
focusElevation: focusElevation,
focusNode: focusNode,
heroTag: heroTag,
highlightElevation: highlightElevation,
hoverElevation: hoverElevation,
child: child,
);