MOutlinedButton.icon constructor
MOutlinedButton.icon({
- Key? key,
- VoidCallback? onPressed,
- VoidCallback? onLongPress,
- ButtonStyle? style,
- FocusNode? focusNode,
- bool? autofocus,
- Clip? clipBehavior,
- MaterialStatesController? statesController,
- required Widget icon,
- Widget label,
- MButtonIconAlignment? alignment,
- Color? backgroundColor,
- BorderRadius? borderRadius,
- bool clearPadding,
- Color? disabledColor,
- double? elevation,
- Size? fixedSize,
- Color? foregroundColor,
- Size? maximumSize,
- Size? minimumSize,
- bool noHighlight,
- bool noSplash,
- Color? overlayColor,
- EdgeInsetsGeometry? padding,
- double? radius,
- Color? shadowColor,
- OutlinedBorder? shape,
- BorderSide? side,
- InteractiveInkFeatureFactory? splashFactory,
- MaterialTapTargetSize? tapTargetSize,
- TextStyle? textStyle,
- double? width,
- double? height,
- double? size,
- double? space,
Implementation
factory MOutlinedButton.icon({
Key? key,
VoidCallback? onPressed,
VoidCallback? onLongPress,
ButtonStyle? style,
FocusNode? focusNode,
bool? autofocus,
Clip? clipBehavior,
MaterialStatesController? statesController,
required Widget icon,
Widget label,
MButtonIconAlignment? alignment,
Color? backgroundColor,
BorderRadius? borderRadius,
bool clearPadding,
Color? disabledColor,
double? elevation,
Size? fixedSize,
Color? foregroundColor,
Size? maximumSize,
Size? minimumSize,
bool noHighlight,
bool noSplash,
Color? overlayColor,
EdgeInsetsGeometry? padding,
double? radius,
Color? shadowColor,
OutlinedBorder? shape,
BorderSide? side,
InteractiveInkFeatureFactory? splashFactory,
MaterialTapTargetSize? tapTargetSize,
TextStyle? textStyle,
double? width,
double? height,
double? size,
double? space,
}) = _MOutlinedButtonWithIcon;