@@ -131,17 +131,17 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
131
131
}
132
132
133
133
@override
134
- DesignVariables lerp (DesignVariables ? other, double t) {
134
+ DesignVariables lerp (DesignVariables other, double t) {
135
135
if (identical (this , other)) {
136
136
return this ;
137
137
}
138
138
return DesignVariables ._(
139
- bgMain: Color .lerp (bgMain, other? .bgMain, t)! ,
140
- bgTopBar: Color .lerp (bgTopBar, other? .bgTopBar, t)! ,
141
- borderBar: Color .lerp (borderBar, other? .borderBar, t)! ,
142
- icon: Color .lerp (icon, other? .icon, t)! ,
143
- title: Color .lerp (title, other? .title, t)! ,
144
- streamColorSwatches: streamColorSwatches.lerp (other? .streamColorSwatches, t),
139
+ bgMain: Color .lerp (bgMain, other.bgMain, t)! ,
140
+ bgTopBar: Color .lerp (bgTopBar, other.bgTopBar, t)! ,
141
+ borderBar: Color .lerp (borderBar, other.borderBar, t)! ,
142
+ icon: Color .lerp (icon, other.icon, t)! ,
143
+ title: Color .lerp (title, other.title, t)! ,
144
+ streamColorSwatches: streamColorSwatches.lerp (other.streamColorSwatches, t),
145
145
);
146
146
}
147
147
}
0 commit comments