File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -129,31 +129,8 @@ extension GoldenTestTextStyleExtensions on TextStyle {
129129 /// use in golden tests.
130130 @protected
131131 TextStyle stripAlchemistPackage () {
132- return TextStyle (
133- inherit: inherit,
134- color: color,
135- backgroundColor: backgroundColor,
136- fontSize: fontSize,
137- fontWeight: fontWeight,
138- fontStyle: fontStyle,
139- letterSpacing: letterSpacing,
140- wordSpacing: wordSpacing,
141- textBaseline: textBaseline,
142- height: height,
143- leadingDistribution: leadingDistribution,
144- locale: locale,
145- foreground: foreground,
146- background: background,
147- shadows: shadows,
148- fontFeatures: fontFeatures,
149- decoration: decoration,
150- decorationColor: decorationColor,
151- decorationStyle: decorationStyle,
152- decorationThickness: decorationThickness,
153- debugLabel: debugLabel,
132+ return copyWith (
154133 fontFamily: fontFamily? .stripFontFamilyAlchemistPackageName (),
155- fontFamilyFallback: fontFamilyFallback,
156- overflow: overflow,
157134 );
158135 }
159136}
You can’t perform that action at this time.
0 commit comments