xFloationActiobButton method
Widget
xFloationActiobButton
(- {bool autofocus = false,
- Clip clipBehavior = Clip.none,
- Color color,
- Brightness colorBrightness,
- Color focusColor,
- FocusNode focusNode,
- Color highlightColor,
- Color hoverColor,
- Key key,
- MaterialTapTargetSize materialTapTargetSize,
- void onHighlightChanged(
- bool
),
- void onLongPress(
),
- EdgeInsetsGeometry padding,
- ShapeBorder shape,
- Color splashColor,
- Color textColor,
- ButtonTextTheme textTheme,
- double disabledElevation,
- double elevation,
- double focusElevation,
- Color foregroundColor,
- Object heroTag,
- double highlightElevation,
- String tooltip,
- bool isExtended = false,
- bool mini = false,
- double hoverElevation,
- Function onTap}
)
Implementation
Widget xFloationActiobButton(
{bool autofocus = false,
Clip clipBehavior = Clip.none,
Color color,
Brightness colorBrightness,
Color focusColor,
FocusNode focusNode,
Color highlightColor,
Color hoverColor,
Key key,
MaterialTapTargetSize materialTapTargetSize,
void Function(bool) onHighlightChanged,
void Function() onLongPress,
EdgeInsetsGeometry padding,
ShapeBorder shape,
Color splashColor,
Color textColor,
ButtonTextTheme textTheme,
double disabledElevation,
double elevation,
double focusElevation,
Color foregroundColor,
Object heroTag,
double highlightElevation,
String tooltip,
bool isExtended = false,
bool mini = false,
double hoverElevation,
Function onTap}) {
return FloatingActionButton(
autofocus: autofocus,
clipBehavior: clipBehavior,
backgroundColor: color,
onPressed: onTap,
focusColor: focusColor,
focusNode: focusNode,
hoverColor: hoverColor,
key: key,
materialTapTargetSize: materialTapTargetSize,
disabledElevation: disabledElevation,
elevation: elevation,
focusElevation: focusElevation,
foregroundColor: foregroundColor,
heroTag: heroTag,
highlightElevation: highlightElevation,
hoverElevation: hoverElevation,
isExtended: isExtended,
mini: mini,
tooltip: tooltip,
shape: shape,
splashColor: splashColor,
child: this);
}