mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Remove highContrast from FakeAccessibilityFeatures (#51130)
This commit is contained in:
parent
aad941e3fa
commit
52ee8a6c65
@ -256,7 +256,6 @@ class FakeAccessibilityFeatures implements AccessibilityFeatures {
|
||||
this.disableAnimations = false,
|
||||
this.boldText = false,
|
||||
this.reduceMotion = false,
|
||||
this.highContrast = false,
|
||||
});
|
||||
|
||||
@override
|
||||
@ -274,11 +273,12 @@ class FakeAccessibilityFeatures implements AccessibilityFeatures {
|
||||
@override
|
||||
final bool reduceMotion;
|
||||
|
||||
final bool highContrast;
|
||||
|
||||
/// This gives us some grace time when the dart:ui side adds something to
|
||||
/// [AccessibilityFeatures], and makes things easier when we do rolls to
|
||||
/// give us time to catch up.
|
||||
///
|
||||
/// If you would like to add to this class, changes must first be made in the
|
||||
/// engine, followed by the framework.
|
||||
@override
|
||||
dynamic noSuchMethod(Invocation invocation) {
|
||||
return null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user