Skip to content

Commit ccf9c15

Browse files
authored
Remove deprecated MediaQuery.boldTextOverride (#143960)
flutter/flutter#143956
1 parent 94855a9 commit ccf9c15

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

packages/flutter/lib/src/widgets/media_query.dart

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1579,20 +1579,6 @@ class MediaQuery extends InheritedModel<_MediaQueryAspect> {
15791579
/// {@macro flutter.widgets.media_query.MediaQuery.dontUseOf}
15801580
static bool boldTextOf(BuildContext context) => maybeBoldTextOf(context) ?? false;
15811581

1582-
/// Returns the [MediaQueryData.boldText] accessibility setting for the
1583-
/// nearest [MediaQuery] ancestor or false, if no such ancestor exists.
1584-
///
1585-
/// Use of this method will cause the given [context] to rebuild any time that
1586-
/// the [MediaQueryData.boldText] property of the ancestor [MediaQuery]
1587-
/// changes.
1588-
///
1589-
/// Deprecated in favor of [boldTextOf].
1590-
@Deprecated(
1591-
'Migrate to boldTextOf. '
1592-
'This feature was deprecated after v3.5.0-9.0.pre.'
1593-
)
1594-
static bool boldTextOverride(BuildContext context) => boldTextOf(context);
1595-
15961582
/// Returns the [MediaQueryData.boldText] accessibility setting for the
15971583
/// nearest [MediaQuery] ancestor or null, if no such ancestor exists.
15981584
///

0 commit comments

Comments
 (0)