SdChipThemeData constructor
const
SdChipThemeData({
- Color? backgroundColor,
- Color? selectedColor,
- Color? disabledColor,
- Color? textColor,
- Color? selectedTextColor,
- Color? disabledTextColor,
- Color? borderColor,
- Color? selectedBorderColor,
- Color? disabledBorderColor,
- TextStyle? textStyle,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- BorderRadiusGeometry? borderRadius,
- double iconSize = 18,
- double elevation = 0,
- double selectedElevation = 8,
- double borderWidth = 1,
- double selectedBorderWidth = 1.2,
- Duration duration = const Duration(milliseconds: 220),
- Curve curve = Curves.easeOutCubic,
- double pressedScale = 0.97,
- Color? shadowColor,
Creates chip theme data.
Implementation
const SdChipThemeData({
this.backgroundColor,
this.selectedColor,
this.disabledColor,
this.textColor,
this.selectedTextColor,
this.disabledTextColor,
this.borderColor,
this.selectedBorderColor,
this.disabledBorderColor,
this.textStyle,
this.padding,
this.margin,
this.borderRadius,
this.iconSize = 18,
this.elevation = 0,
this.selectedElevation = 8,
this.borderWidth = 1,
this.selectedBorderWidth = 1.2,
this.duration = const Duration(milliseconds: 220),
this.curve = Curves.easeOutCubic,
this.pressedScale = 0.97,
this.shadowColor,
});