Accessibility Lint

License: Apache License 2.0

Dart Flutter Android iOS

A static analysis linter that helps developers create accessible Dart and Flutter applications by enforcing best practices for accessibility.

Features

  • Avoid Icon Button Without Tooltip: Ensures all IconButton widgets have a tooltip property.

Installation

To add the accessibility linter to your project, run:

flutter pub add --dev custom_lint accessibility_lint

Then, add in your analysis_options.yaml file:

analyzer:
  plugins:
    - custom_lint

Usage

To run the accessibility linter, run:

dart run custom_lint

License

This project is licensed under the GNU GPL License - see the LICENSE file for details.

Libraries

accessibility_lint