flutter_fixer 0.3.0
flutter_fixer: ^0.3.0 copied to clipboard
CLI to scan Flutter/Dart projects and run dart fix presets (const, print, super, imports, style); dry-run by default, interactive wizard without args.
Changelog #
0.3.0 #
allpreset: Added topresetMenuOrderas the first item (interactive default: Enter = option 1 = full whitelist). CLI flag--all(equivalent to no category flags).- Interactive:
0still selects the full whitelist; empty input defaults to1(all).
0.2.2 #
- Behavior:
dart fixis always invoked with--code=...limited to this package’s diagnostic whitelist (or a subset via flags). Unrestricteddart fix(no--code) is never used. “All” / no flags means the union of all preset codes, not “every analyzer fix”.
0.2.1 #
- Interactive wizard: language selection first (default English); full Türkçe UI when option 2 is chosen. Non-TTY hint message is English.
0.2.0 #
- Breaking:
fixdefaults to dry-run only;--applyis required to rundart fix --apply. - Interactive: Running with no arguments in a TTY starts a Turkish step-by-step wizard (scan vs fix; fix → preset choice → preview → confirm apply).
- Preset:
--style/stylegroup adds:unused_catch_stack,dead_null_aware_expression,duplicate_import,prefer_conditional_assignment,curly_braces_in_flow_control_structures,unnecessary_string_interpolations,unnecessary_brace_in_string_interps,prefer_interpolation_to_compose_strings,unnecessary_non_null_assertion.
0.1.0 #
- Initial release:
scan(dart analyze JSON summary) andfix(dart fix with presets: const, print, super, import).