xOutlinedButtonIcon method
Widget
xOutlinedButtonIcon
(- {void onPressed(
),
- bool autofocus = false,
- Clip clipBehavior = Clip.none,
- FocusNode focusNode,
- Key key,
- void onLongPress(
),
- EdgeInsetsGeometry padding,
- ShapeBorder shape,
- Widget lable,
- Color color,
- MaterialTapTargetSize materialTapTargetSize,
- AlignmentGeometry alignment,
- BorderSide side,
- ButtonTextTheme textTheme,
- double elevation,
- Duration animationDuration,
- MouseCursor disabledMouseCursor,
- TextStyle textStyle,
- VisualDensity visualDensity,
- bool enableFeedback,
- MouseCursor enabledMouseCursor,
- Size minimumSize,
- Color onSurface,
- Color primary,
- Color shadowColor}
)
Implementation
Widget xOutlinedButtonIcon({
void Function() onPressed,
bool autofocus = false,
Clip clipBehavior = Clip.none,
FocusNode focusNode,
Key key,
void Function() onLongPress,
EdgeInsetsGeometry padding,
ShapeBorder shape,
Widget lable,
Color color,
MaterialTapTargetSize materialTapTargetSize,
AlignmentGeometry alignment,
BorderSide side,
ButtonTextTheme textTheme,
double elevation,
Duration animationDuration,
MouseCursor disabledMouseCursor,
TextStyle textStyle,
VisualDensity visualDensity,
bool enableFeedback,
MouseCursor enabledMouseCursor,
Size minimumSize,
Color onSurface,
Color primary,
Color shadowColor,
}) {
return OutlinedButton.icon(
onPressed: onPressed,
icon: this,
label: lable,
autofocus: autofocus,
clipBehavior: clipBehavior,
focusNode: focusNode,
style: OutlinedButton.styleFrom(
padding: padding,
shape: shape,
alignment: alignment,
animationDuration: animationDuration,
disabledMouseCursor: disabledMouseCursor,
primary: primary,
shadowColor: shadowColor,
side: side,
textStyle: textStyle,
visualDensity: visualDensity,
enableFeedback: enableFeedback,
enabledMouseCursor: enabledMouseCursor,
minimumSize: minimumSize,
onSurface: onSurface,
tapTargetSize: materialTapTargetSize,
elevation: elevation,
backgroundColor: color,
),
key: key,
onLongPress: onLongPress,
);
}