include: package:flutter_lints/flutter.yaml analyzer: exclude: - build/** - android/** - ios/** # Generated from lib/l10n/*.arb by the Flutter tool. - lib/l10n/app_localizations*.dart errors: # UI text must come from the ARB files. A literal string reaching a widget # is untranslatable, so treat it as an error rather than a hint. prefer_const_constructors: warning todo: ignore language: strict-casts: true strict-inference: true strict-raw-types: true linter: rules: # Correctness - always_declare_return_types - avoid_dynamic_calls - avoid_slow_async_io - cancel_subscriptions - close_sinks - comment_references - literal_only_boolean_expressions - no_adjacent_strings_in_list - test_types_in_equals - throw_in_finally - unnecessary_statements # Async correctness — the radar timeline is full of races between # prefetching, scrubbing and lifecycle changes. - discarded_futures - unawaited_futures # Style consistency - directives_ordering - prefer_final_locals - prefer_single_quotes - sort_child_properties_last - unnecessary_parenthesis - use_string_buffers