ShadButtonTheme constructor
const
ShadButtonTheme({
- bool canMerge = true,
- MouseCursor? cursor,
- ShadButtonSize? size,
- ShadButtonSizesTheme? sizesTheme,
- Color? backgroundColor,
- Color? hoverBackgroundColor,
- Color? foregroundColor,
- Color? hoverForegroundColor,
- Color? pressedBackgroundColor,
- Color? pressedForegroundColor,
- List<
BoxShadow> ? shadows, - Gradient? gradient,
- TextDecoration? textDecoration,
- TextDecoration? hoverTextDecoration,
- ShadDecoration? decoration,
- double? width,
- double? height,
- MainAxisAlignment? mainAxisAlignment,
- CrossAxisAlignment? crossAxisAlignment,
- Duration? longPressDuration,
- ShadHoverStrategies? hoverStrategies,
- TextDirection? textDirection,
- double? gap,
- bool? expands,
- TextStyle? textStyle,
Implementation
const ShadButtonTheme({
bool canMerge = true,
this.cursor,
this.size,
this.sizesTheme,
this.backgroundColor,
this.hoverBackgroundColor,
this.foregroundColor,
this.hoverForegroundColor,
this.pressedBackgroundColor,
this.pressedForegroundColor,
this.shadows,
this.gradient,
this.textDecoration,
this.hoverTextDecoration,
this.decoration,
this.width,
this.height,
this.mainAxisAlignment,
this.crossAxisAlignment,
this.longPressDuration,
this.hoverStrategies,
this.textDirection,
this.gap,
this.expands,
this.textStyle,
}) : _canMerge = canMerge;