remove ununsed deprecated field (#64076)

This commit is contained in:
chunhtai 2020-08-19 16:26:05 -07:00 committed by GitHub
parent d69ae36398
commit 31e881f3a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 14 deletions

View file

@ -5214,13 +5214,6 @@ class RichText extends MultiChildRenderObjectWidget {
this.strutStyle,
this.textWidthBasis = TextWidthBasis.parent,
this.textHeightBehavior,
@Deprecated(
'This parameter is a temporary flag to migrate the internal tests and '
'should not be used in other contexts. For more details, see '
'https://github.com/flutter/flutter/issues/59316. '
'This feature was deprecated after v1.19.0.'
)
bool applyTextScaleFactorToWidgetSpan = false,
}) : assert(text != null),
assert(textAlign != null),
assert(softWrap != null),

View file

@ -388,13 +388,6 @@ class Text extends StatelessWidget {
this.semanticsLabel,
this.textWidthBasis,
this.textHeightBehavior,
@Deprecated(
'This parameter is a temporary flag to migrate the internal tests and '
'should not be used in other contexts. For more details, please check '
'https://github.com/flutter/flutter/issues/59316. '
'This feature was deprecated after v1.19.0.'
)
bool applyTextScaleFactorToWidgetSpan = false,
}) : assert(
textSpan != null,
'A non-null TextSpan must be provided to a Text.rich widget.',