xOutlinedButton method
Widget
xOutlinedButton
(- {bool autofocus = false,
- Clip clipBehavior = Clip.none,
- FocusNode focusNode,
- Key key,
- void onLongPress(
),
- EdgeInsetsGeometry padding,
- ShapeBorder shape,
- Widget child,
- 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,
- void onPressed(
)}
)
Implementation
Widget xOutlinedButton(
{bool autofocus = false,
Clip clipBehavior = Clip.none,
FocusNode focusNode,
Key key,
void Function() onLongPress,
EdgeInsetsGeometry padding,
ShapeBorder shape,
Widget child,
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,
void Function() onPressed}) {
return OutlinedButton(
onPressed: onPressed,
autofocus: autofocus,
clipBehavior: clipBehavior,
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,
),
focusNode: focusNode,
key: key,
onLongPress: onLongPress,
child: this,
);
}