AuiButton.medium constructor

const AuiButton.medium({
  1. Key? key,
  2. required VoidCallback? onPressed,
  3. required Widget child,
  4. WidgetStateProperty<EdgeInsetsGeometry>? msPadding,
  5. EdgeInsetsGeometry? padding = const EdgeInsets.fromLTRB(24, 16, 24, 16),
  6. WidgetStateProperty<EdgeInsetsGeometry>? msShape,
  7. bool? block = false,
  8. OutlinedBorder? shape,
  9. bool soft = false,
  10. BorderRadiusGeometry? borderRadius,
  11. double? borderRadiusAll,
  12. WidgetStateProperty<Color>? msBackgroundColor,
  13. Color? backgroundColor,
  14. AuiButtonType? buttonType = AuiButtonType.elevated,
  15. ButtonStyle? style,
  16. WidgetStateProperty<BorderSide>? msSide,
  17. bool? disabled = false,
  18. BorderSide? side,
  19. Color borderColor = Colors.transparent,
  20. WidgetStateProperty<Color>? msShadowColor,
  21. WidgetStateProperty<double>? msElevation,
  22. double? elevation = 4,
  23. Color? shadowColor,
  24. MaterialTapTargetSize? tapTargetSize = MaterialTapTargetSize.padded,
  25. Color? splashColor,
})

Implementation

const AuiButton.medium(
    {super.key,
    required this.onPressed,
    required this.child,
    this.msPadding,
    this.padding = const EdgeInsets.fromLTRB(24, 16, 24, 16),
    this.msShape,
    this.block = false,
    this.shape,
    this.soft = false,
    this.borderRadius,
    this.borderRadiusAll,
    this.msBackgroundColor,
    this.backgroundColor,
    this.buttonType = AuiButtonType.elevated,
    this.style,
    this.msSide,
    this.disabled = false,
    this.side,
    this.borderColor = Colors.transparent,
    this.msShadowColor,
    this.msElevation,
    this.elevation = 4,
    this.shadowColor,
    this.tapTargetSize = MaterialTapTargetSize.padded,
    this.splashColor});