custom_button_style.dart 878 B

123456789101112131415161718192021222324252627282930313233
  1. import 'package:flutter/material.dart';
  2. class CustomButtonStyle {
  3. Color defaultButtonColor;
  4. Color? pressedButtonColor;
  5. Color? disabledButtonColor;
  6. Color defaultBorderColor;
  7. Color? pressedBorderColor;
  8. Color? disabledBorderColor;
  9. Color defaultIconColor;
  10. Color? pressedIconColor;
  11. Color? disabledIconColor;
  12. TextStyle defaultLabelStyle;
  13. TextStyle? pressedLabelStyle;
  14. TextStyle? disabledLabelStyle;
  15. Color? checkIconColor;
  16. CustomButtonStyle({
  17. required this.defaultButtonColor,
  18. this.pressedButtonColor,
  19. this.disabledButtonColor,
  20. required this.defaultBorderColor,
  21. this.pressedBorderColor,
  22. this.disabledBorderColor,
  23. required this.defaultIconColor,
  24. this.pressedIconColor,
  25. this.disabledIconColor,
  26. required this.defaultLabelStyle,
  27. this.pressedLabelStyle,
  28. this.disabledLabelStyle,
  29. this.checkIconColor,
  30. });
  31. }