xFloationActionButton method
Widget
xFloationActionButton
(- {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,
- String fontFamily,
- FontWeight fontWeight,
- double fontsize,
- Function onTap}
)
Implementation
Widget xFloationActionButton(
{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,
String fontFamily,
FontWeight fontWeight,
double fontsize,
Function onTap}) {
return FloatingActionButton(
onPressed: onTap,
autofocus: autofocus,
clipBehavior: clipBehavior,
backgroundColor: color,
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: Textmaterial(
text: this,
color: textColor,
fontFamily: fontFamily,
fontWeight: fontWeight,
fontsize: fontsize,
),
);
}