MOutlinedButton constructor
const
MOutlinedButton({
- Key? key,
- VoidCallback? onPressed,
- VoidCallback? onLongPress,
- ValueChanged<
bool> ? onHover, - ValueChanged<
bool> ? onFocusChange, - ButtonStyle? style,
- FocusNode? focusNode,
- bool autofocus = false,
- Clip? clipBehavior = Clip.none,
- MaterialStatesController? statesController,
- required Widget? child,
- Color? backgroundColor,
- BorderRadius? borderRadius,
- bool clearPadding = false,
- Color? disabledColor,
- double? elevation,
- Size? fixedSize,
- Color? foregroundColor,
- Size? maximumSize,
- Size? minimumSize,
- bool noHighlight = false,
- bool noSplash = false,
- Color? overlayColor,
- EdgeInsetsGeometry? padding,
- double? radius,
- Color? shadowColor,
- OutlinedBorder? shape,
- BorderSide? side,
- InteractiveInkFeatureFactory? splashFactory,
- MaterialTapTargetSize? tapTargetSize,
- TextStyle? textStyle,
- double? width,
- double? height,
- double? size,
Implementation
const MOutlinedButton({
super.key,
super.onPressed,
super.onLongPress,
super.onHover,
super.onFocusChange,
super.style,
super.focusNode,
super.autofocus = false,
super.clipBehavior = Clip.none,
super.statesController,
required super.child,
this.backgroundColor,
this.borderRadius,
this.clearPadding = false,
this.disabledColor,
this.elevation,
this.fixedSize,
this.foregroundColor,
this.maximumSize,
this.minimumSize,
this.noHighlight = false,
this.noSplash = false,
this.overlayColor,
this.padding,
this.radius,
this.shadowColor,
this.shape,
this.side,
this.splashFactory,
this.tapTargetSize,
this.textStyle,
double? width,
double? height,
double? size,
}) : width = width ?? size,
height = height ?? size,
isSelected = null;