ButtonStyle.filled constructor

const ButtonStyle.filled({
  1. Color? color,
  2. SheetSeverity? severity,
  3. double? width,
  4. double? height,
  5. EdgeInsetsGeometry? margin,
  6. EdgeInsetsGeometry? padding,
  7. Clip? clipBehavior,
  8. bool? overlayDisabled,
  9. Color? overlayColor,
  10. Color? shadowColor,
  11. Color? surfaceTint,
  12. double? elevation,
  13. TextStyle? foregroundStyle,
  14. Color? foregroundColor,
  15. double? foregroundOpacity,
  16. int? foregroundAlpha,
  17. double? foregroundSpacing,
  18. bool? foregroundLoosen,
  19. bool? foregroundExpanded,
  20. CrossAxisAlignment? foregroundAlign,
  21. MainAxisAlignment? foregroundJustify,
  22. double? backgroundOpacity,
  23. int? backgroundAlpha,
  24. double? borderOpacity,
  25. int? borderAlpha,
  26. double? borderWidth,
  27. BorderRadius? borderRadius,
  28. BorderStyle? borderStyle,
  29. BoxShape? shape,
  30. Color? iconColor,
  31. double? iconOpacity,
  32. double? iconSize,
})

Create a ButtonStyle with default value for filled style.

Implementation

const ButtonStyle.filled({
  Color? color,
  super.severity,
  super.width,
  super.height,
  super.margin,
  super.padding,
  super.clipBehavior,
  super.overlayDisabled,
  super.overlayColor,
  super.shadowColor,
  super.surfaceTint,
  super.elevation,
  super.foregroundStyle,
  super.foregroundColor,
  super.foregroundOpacity,
  super.foregroundAlpha,
  super.foregroundSpacing,
  super.foregroundLoosen,
  super.foregroundExpanded,
  super.foregroundAlign,
  super.foregroundJustify,
  super.backgroundOpacity,
  super.backgroundAlpha,
  super.borderOpacity,
  super.borderAlpha,
  super.borderWidth,
  super.borderRadius,
  super.borderStyle,
  super.shape,
  super.iconColor,
  super.iconOpacity,
  super.iconSize,
}) : super(
        variant: ButtonVariant.filled,
        backgroundColor: color,
        borderColor: color,
      );