RuleEngine.standard constructor

RuleEngine.standard()

Creates an engine with the bundled TREE rules enabled.

Implementation

factory RuleEngine.standard() => const RuleEngine([
      InteractiveNameRule(),
      ImageAltRule(),
      PlaceholderNameRule(),
      FieldLabelRule(),
      TargetSizeRule(),
      FocusTrapRule(),
      AmbiguousNameRule(),
      TextOverflowRule(),
      ContrastRule(),
      NonTextContrastRule(),
      HeadingStructureRule(),
      FocusOrderRule(),
      StateExposedRule(),
      AdjustableValueRule(),
      GenericLinkTextRule(),
    ]);