Open nelsonic opened 4 years ago
https://flutter.dev/docs/development/tools/formatting
flutter format
or for a specific file:
flutter format main.dart etc.dart
We need to figure out how to add a git pre-commit hook to run flutter format on our code before committing it so that it's always consistent. ðŸ’
git pre-commit
https://flutter.dev/docs/development/tools/formatting
or for a specific file:
We need to figure out how to add a
git pre-commit
hook to runflutter format
on our code before committing it so that it's always consistent. ðŸ’