Remove highContrast from FakeAccessibilityFeatures (#51130)

This commit is contained in:
Kate Lovett 2020-02-20 10:28:49 -08:00 committed by GitHub
parent aad941e3fa
commit 52ee8a6c65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;