Unverified Commit d295fbb6 authored by Miguel Beltran's avatar Miguel Beltran Committed by GitHub

Add highContrast to FakeAccessibilityFeatures test (#48486)

parent 405638f5
......@@ -256,6 +256,7 @@ class FakeAccessibilityFeatures implements AccessibilityFeatures {
this.disableAnimations = false,
this.boldText = false,
this.reduceMotion = false,
this.highContrast = false,
});
@override
......@@ -272,4 +273,14 @@ 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.
@override
dynamic noSuchMethod(Invocation invocation) {
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