FakeAccessibilityFeatures constructor Null safety

const FakeAccessibilityFeatures(
  1. {bool accessibleNavigation = false,
  2. bool invertColors = false,
  3. bool disableAnimations = false,
  4. bool boldText = false,
  5. bool reduceMotion = false,
  6. bool highContrast = false}
)

Creates a test instance of AccessibilityFeatures.

By default, all features are disabled.

Implementation

const FakeAccessibilityFeatures({
  this.accessibleNavigation = false,
  this.invertColors = false,
  this.disableAnimations = false,
  this.boldText = false,
  this.reduceMotion = false,
  this.highContrast = false,
});