Skip to content

Commit

Permalink
Update UI
Browse files Browse the repository at this point in the history
  • Loading branch information
anhnt committed Aug 21, 2022
1 parent d7579da commit e17d779
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ In the `pubspec.yaml` of your flutter project, add the following dependency:
```yaml
dependencies:
...
tf_form: ^0.0.5
tf_form: ^0.0.6
```
In your library add the following import:
Expand Down Expand Up @@ -63,6 +63,17 @@ The `TFForm` widget acts as a container for grouping and validating multiple for
),
```

This package supports ios number input with `Done` button out of the box. All you need to enable this feature is specify:
`keyboardType` with one of those types:


```dart
TextInputType.number,
TextInputType.phone,
TextInputType.numberWithOptions(decimal: true),
```
Preview: ![image](https://user-images.githubusercontent.com/735555/185785899-e616ed11-677c-4734-9dd6-46eb8f7ef5d4.png)

### TFDropdownField

A dropdown field allows the user to pick a value from a dropdown list
Expand Down

0 comments on commit e17d779

Please sign in to comment.