Closed Faiyyaz closed 2 years ago
run this command to format the code before a pull request
flutter format .
Hey it is showing all files as unchanged when i run the above command
Formatting directory .:
Unchanged example/test/widget_test.dart
Unchanged example/lib/main.dart
Unchanged test/flutter_tags_test.dart
Unchanged lib/flutter_tags.dart
Unchanged lib/src/suggestions_textfield.dart
Unchanged lib/src/util/custom_wrap.dart
Unchanged lib/src/item_tags.dart
Unchanged lib/src/tags.dart
faiyyaz@faiyyaz-Lenovo-G50-70:~/Development/Projects/flutter_tags$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
Hi,
I have added a boolean in
SuggestionsTextField.dart
namedshouldNotLoseFocus
which enables the developer to decide whether to close the keyboard or not after tapping on done.default value is false
so that it can be an optional property.Example for this kind of behaviour is gmail app.