Skip to content

Flutter

Scope: cross-platform apps built with Flutter and Dart.

Entries are sorted by score from 1 to 10 (criteria): 9โ€“10 start here or strongly recommended, 6โ€“8 recommended, 1โ€“5 further reading or conditional.

Adopted references

The Flutter team publishes an official architecture guide. Follow it as-is.

Key rules

Architecture

Accessibility

  • 7 FLUTTER-7 Describe custom widgets to screen readers with the Semantics widget, setting a label and properties such as button or header, and make every tap target at least 48 by 48 dp on Android and 44 by 44 pt on iOS. Flutter's standard widgets build the accessibility tree automatically, MergeSemantics makes a subtree a single node, and ExcludeSemantics removes decoration from the tree; test with TalkBack and VoiceOver. This applies A11Y-9. (Flutter, Accessibility technologies, Flutter API, Semantics class, Flutter, UI design and styling: tap target size)
  • 6 FLUTTER-8 Let text follow the font size set in the operating system, which Flutter's text widgets do by default, and make every layout leave room for text at the largest setting, testing on a small screen. Read other settings that the platform reports, such as bold text, high contrast and inverted colours, from AccessibilityFeatures. This applies A11Y-12. (Flutter, UI design and styling: large fonts, Flutter, Other accessibility features)

How to enforce

Tools that check the key rules above automatically, in CI, the IDE or a commit hook. "Partly" means the tool covers only some of what the rule asks.

Tutorials and further reading