Unverified Commit 52ee8a6c authored by Kate Lovett's avatar Kate Lovett Committed by GitHub

Remove highContrast from FakeAccessibilityFeatures (#51130)

parent aad941e3
...@@ -256,7 +256,6 @@ class FakeAccessibilityFeatures implements AccessibilityFeatures { ...@@ -256,7 +256,6 @@ class FakeAccessibilityFeatures implements AccessibilityFeatures {
this.disableAnimations = false, this.disableAnimations = false,
this.boldText = false, this.boldText = false,
this.reduceMotion = false, this.reduceMotion = false,
this.highContrast = false,
}); });
@override @override
...@@ -274,11 +273,12 @@ class FakeAccessibilityFeatures implements AccessibilityFeatures { ...@@ -274,11 +273,12 @@ class FakeAccessibilityFeatures implements AccessibilityFeatures {
@override @override
final bool reduceMotion; final bool reduceMotion;
final bool highContrast;
/// This gives us some grace time when the dart:ui side adds something to /// This gives us some grace time when the dart:ui side adds something to
/// [AccessibilityFeatures], and makes things easier when we do rolls to /// [AccessibilityFeatures], and makes things easier when we do rolls to
/// give us time to catch up. /// 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 @override
dynamic noSuchMethod(Invocation invocation) { dynamic noSuchMethod(Invocation invocation) {
return null; return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment