From 52ee8a6c6565cd421dfa32042941eb40691f4746 Mon Sep 17 00:00:00 2001 From: Kate Lovett Date: Thu, 20 Feb 2020 10:28:49 -0800 Subject: [PATCH] Remove highContrast from FakeAccessibilityFeatures (#51130) --- packages/flutter_test/test/window_test.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/flutter_test/test/window_test.dart b/packages/flutter_test/test/window_test.dart index 396ce1f8a46..0d6c412fa83 100644 --- a/packages/flutter_test/test/window_test.dart +++ b/packages/flutter_test/test/window_test.dart @@ -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;