|
@@ -25,6 +25,7 @@ class AFThemeExtension extends ThemeExtension<AFThemeExtension> {
|
|
final Color calloutBGColor;
|
|
final Color calloutBGColor;
|
|
final Color tableCellBGColor;
|
|
final Color tableCellBGColor;
|
|
final Color calendarWeekendBGColor;
|
|
final Color calendarWeekendBGColor;
|
|
|
|
+ final Color gridRowCountColor;
|
|
|
|
|
|
final TextStyle code;
|
|
final TextStyle code;
|
|
final TextStyle callout;
|
|
final TextStyle callout;
|
|
@@ -55,6 +56,7 @@ class AFThemeExtension extends ThemeExtension<AFThemeExtension> {
|
|
required this.caption,
|
|
required this.caption,
|
|
required this.progressBarBGColor,
|
|
required this.progressBarBGColor,
|
|
required this.toggleButtonBGColor,
|
|
required this.toggleButtonBGColor,
|
|
|
|
+ required this.gridRowCountColor,
|
|
});
|
|
});
|
|
|
|
|
|
static AFThemeExtension of(BuildContext context) {
|
|
static AFThemeExtension of(BuildContext context) {
|
|
@@ -84,6 +86,7 @@ class AFThemeExtension extends ThemeExtension<AFThemeExtension> {
|
|
Color? progressBarBGColor,
|
|
Color? progressBarBGColor,
|
|
Color? toggleButtonBGColor,
|
|
Color? toggleButtonBGColor,
|
|
Color? calendarWeekendBGColor,
|
|
Color? calendarWeekendBGColor,
|
|
|
|
+ Color? gridRowCountColor,
|
|
TextStyle? code,
|
|
TextStyle? code,
|
|
TextStyle? callout,
|
|
TextStyle? callout,
|
|
TextStyle? caption,
|
|
TextStyle? caption,
|
|
@@ -111,6 +114,7 @@ class AFThemeExtension extends ThemeExtension<AFThemeExtension> {
|
|
toggleButtonBGColor: toggleButtonBGColor ?? this.toggleButtonBGColor,
|
|
toggleButtonBGColor: toggleButtonBGColor ?? this.toggleButtonBGColor,
|
|
calendarWeekendBGColor:
|
|
calendarWeekendBGColor:
|
|
calendarWeekendBGColor ?? this.calendarWeekendBGColor,
|
|
calendarWeekendBGColor ?? this.calendarWeekendBGColor,
|
|
|
|
+ gridRowCountColor: gridRowCountColor ?? this.gridRowCountColor,
|
|
code: code ?? this.code,
|
|
code: code ?? this.code,
|
|
callout: callout ?? this.callout,
|
|
callout: callout ?? this.callout,
|
|
caption: caption ?? this.caption,
|
|
caption: caption ?? this.caption,
|
|
@@ -149,6 +153,8 @@ class AFThemeExtension extends ThemeExtension<AFThemeExtension> {
|
|
Color.lerp(toggleButtonBGColor, other.toggleButtonBGColor, t)!,
|
|
Color.lerp(toggleButtonBGColor, other.toggleButtonBGColor, t)!,
|
|
calendarWeekendBGColor:
|
|
calendarWeekendBGColor:
|
|
Color.lerp(calendarWeekendBGColor, other.calendarWeekendBGColor, t)!,
|
|
Color.lerp(calendarWeekendBGColor, other.calendarWeekendBGColor, t)!,
|
|
|
|
+ gridRowCountColor: Color.lerp(
|
|
|
|
+ gridRowCountColor, other.gridRowCountColor, t)!,
|
|
code: other.code,
|
|
code: other.code,
|
|
callout: other.callout,
|
|
callout: other.callout,
|
|
caption: other.caption,
|
|
caption: other.caption,
|