ente/lib/ui/components/models/custom_button_style.dart

34 lines
878 B
Dart
Raw Normal View History

2022-12-09 14:00:58 +00:00
import 'package:flutter/material.dart';
class CustomButtonStyle {
2022-12-09 14:00:58 +00:00
Color defaultButtonColor;
Color? pressedButtonColor;
Color? disabledButtonColor;
Color defaultBorderColor;
2022-12-09 14:00:58 +00:00
Color? pressedBorderColor;
Color? disabledBorderColor;
Color defaultIconColor;
Color? pressedIconColor;
Color? disabledIconColor;
TextStyle defaultLabelStyle;
TextStyle? pressedLabelStyle;
TextStyle? disabledLabelStyle;
2022-12-12 09:48:07 +00:00
Color? checkIconColor;
2022-12-09 14:00:58 +00:00
CustomButtonStyle({
2022-12-09 14:00:58 +00:00
required this.defaultButtonColor,
this.pressedButtonColor,
this.disabledButtonColor,
required this.defaultBorderColor,
2022-12-09 14:00:58 +00:00
this.pressedBorderColor,
this.disabledBorderColor,
required this.defaultIconColor,
this.pressedIconColor,
this.disabledIconColor,
required this.defaultLabelStyle,
this.pressedLabelStyle,
this.disabledLabelStyle,
2022-12-12 09:48:07 +00:00
this.checkIconColor,
2022-12-09 14:00:58 +00:00
});
}