FuButton.rounded constructor

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

Implementation

const FuButton.rounded(
    {required this.onPressed,
    required this.child,
    this.msPadding,
    this.padding,
    this.msShape,
    this.shape,
    this.borderRadius,
    this.borderRadiusAll = 4,
    this.msBackgroundColor,
    this.backgroundColor = Colors.blue,
    this.buttonType = FuButtonType.elevated,
    this.style,
    this.block = false,
    this.msSide,
    this.disabled = false,
    this.side,
    this.soft = false,
    this.borderColor = Colors.transparent,
    this.msShadowColor,
    this.msElevation,
    this.elevation = 4,
    this.shadowColor,
    this.splashColor});