Skip to content

Commit

Permalink
Remove deprecated MediaQuery.boldTextOverride (#143960)
Browse files Browse the repository at this point in the history
  • Loading branch information
goderbauer authored Feb 23, 2024
1 parent 94855a9 commit ccf9c15
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/flutter/lib/src/widgets/media_query.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1579,20 +1579,6 @@ class MediaQuery extends InheritedModel<_MediaQueryAspect> {
/// {@macro flutter.widgets.media_query.MediaQuery.dontUseOf}
static bool boldTextOf(BuildContext context) => maybeBoldTextOf(context) ?? false;

/// Returns the [MediaQueryData.boldText] accessibility setting for the
/// nearest [MediaQuery] ancestor or false, if no such ancestor exists.
///
/// Use of this method will cause the given [context] to rebuild any time that
/// the [MediaQueryData.boldText] property of the ancestor [MediaQuery]
/// changes.
///
/// Deprecated in favor of [boldTextOf].
@Deprecated(
'Migrate to boldTextOf. '
'This feature was deprecated after v3.5.0-9.0.pre.'
)
static bool boldTextOverride(BuildContext context) => boldTextOf(context);

/// Returns the [MediaQueryData.boldText] accessibility setting for the
/// nearest [MediaQuery] ancestor or null, if no such ancestor exists.
///
Expand Down

0 comments on commit ccf9c15

Please sign in to comment.