diff --git a/packages/flutter/lib/src/widgets/basic.dart b/packages/flutter/lib/src/widgets/basic.dart index 4810ac6ace..1cd427a11b 100644 --- a/packages/flutter/lib/src/widgets/basic.dart +++ b/packages/flutter/lib/src/widgets/basic.dart @@ -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), diff --git a/packages/flutter/lib/src/widgets/text.dart b/packages/flutter/lib/src/widgets/text.dart index cbe9be0dec..15ba8be8bf 100644 --- a/packages/flutter/lib/src/widgets/text.dart +++ b/packages/flutter/lib/src/widgets/text.dart @@ -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.',