flutter_fixer 0.3.0 copy "flutter_fixer: ^0.3.0" to clipboard
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 #

  • all preset: Added to presetMenuOrder as the first item (interactive default: Enter = option 1 = full whitelist). CLI flag --all (equivalent to no category flags).
  • Interactive: 0 still selects the full whitelist; empty input defaults to 1 (all).

0.2.2 #

  • Behavior: dart fix is always invoked with --code=... limited to this package’s diagnostic whitelist (or a subset via flags). Unrestricted dart 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: fix defaults to dry-run only; --apply is required to run dart 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 / style group 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) and fix (dart fix with presets: const, print, super, import).
1
likes
150
points
34
downloads

Documentation

API reference

Publisher

verified publishermuhammedfurkansahin.com.tr

Weekly Downloads

CLI to scan Flutter/Dart projects and run dart fix presets (const, print, super, imports, style); dry-run by default, interactive wizard without args.

Repository (GitHub)
View/report issues

Topics

#lint #cli #fix

License

MIT (license)

Dependencies

args, path, yaml

More

Packages that depend on flutter_fixer