joe-riggy/fluttet icon
public
Published on 3/21/2025
Rules template

Rules
fluttet
rules:
  - Follow Flutter best practices, including widget composition and state management.
  - Use the Provider package for state management unless otherwise specified.
  - Always write DartDoc comments for public functions, classes, and widgets.
  - Use const constructors wherever possible to optimize performance.
  - Ensure all widgets are wrapped with proper layout widgets (e.g., Padding, SafeArea).
  - Prefer named parameters for function definitions when applicable.
  - Always use proper null safety handling with '?' and 'late' only when necessary.
  - Format code using dartfmt before finalizing any changes.
  - Follow the official Flutter style guide for naming conventions and indentation.