@@ -131,17 +131,17 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
131131 }
132132
133133 @override
134- DesignVariables lerp (DesignVariables ? other, double t) {
134+ DesignVariables lerp (DesignVariables other, double t) {
135135 if (identical (this , other)) {
136136 return this ;
137137 }
138138 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),
145145 );
146146 }
147147}
0 commit comments