SdChipThemeData constructor

const SdChipThemeData({
  1. Color? backgroundColor,
  2. Color? selectedColor,
  3. Color? disabledColor,
  4. Color? textColor,
  5. Color? selectedTextColor,
  6. Color? disabledTextColor,
  7. Color? borderColor,
  8. Color? selectedBorderColor,
  9. Color? disabledBorderColor,
  10. TextStyle? textStyle,
  11. EdgeInsetsGeometry? padding,
  12. EdgeInsetsGeometry? margin,
  13. BorderRadiusGeometry? borderRadius,
  14. double iconSize = 18,
  15. double elevation = 0,
  16. double selectedElevation = 8,
  17. double borderWidth = 1,
  18. double selectedBorderWidth = 1.2,
  19. Duration duration = const Duration(milliseconds: 220),
  20. Curve curve = Curves.easeOutCubic,
  21. double pressedScale = 0.97,
  22. 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,
});