Dn-a / flutter_tags

With flutter tags you can create selectable or input tags that automatically adapt to the screen width
https://pub.dartlang.org/packages/flutter_tags
MIT License
508 stars 124 forks source link

Add a boolean to handle keyboard #54

Closed Faiyyaz closed 2 years ago

Faiyyaz commented 4 years ago

Hi,

I have added a boolean in SuggestionsTextField.dart named shouldNotLoseFocus 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.

Dn-a commented 4 years ago

run this command to format the code before a pull request flutter format .

Faiyyaz commented 4 years ago

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