MOutlinedButton.icon constructor

MOutlinedButton.icon({
  1. Key? key,
  2. VoidCallback? onPressed,
  3. VoidCallback? onLongPress,
  4. ButtonStyle? style,
  5. FocusNode? focusNode,
  6. bool? autofocus,
  7. Clip? clipBehavior,
  8. MaterialStatesController? statesController,
  9. required Widget icon,
  10. Widget label,
  11. MButtonIconAlignment? alignment,
  12. Color? backgroundColor,
  13. BorderRadius? borderRadius,
  14. bool clearPadding,
  15. Color? disabledColor,
  16. double? elevation,
  17. Size? fixedSize,
  18. Color? foregroundColor,
  19. Size? maximumSize,
  20. Size? minimumSize,
  21. bool noHighlight,
  22. bool noSplash,
  23. Color? overlayColor,
  24. EdgeInsetsGeometry? padding,
  25. double? radius,
  26. Color? shadowColor,
  27. OutlinedBorder? shape,
  28. BorderSide? side,
  29. InteractiveInkFeatureFactory? splashFactory,
  30. MaterialTapTargetSize? tapTargetSize,
  31. TextStyle? textStyle,
  32. double? width,
  33. double? height,
  34. double? size,
  35. 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;