Skip to content

Commit f82fb64

Browse files
authored
Update README.md
1 parent 9f6a55b commit f82fb64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ capabilities such as:
8181
keyboardType to `TextInputType.emailAddress`, which in turn is optimized for
8282
email addresses.
8383

84+
### Form Field in Action
85+
8486
The code below demonstrates how to use the `EmailField` widget with the `trim`
8587
property set to `true` so that the entered email value is trimmed before being
8688
validated. Furthermore, the example also illustrates some important features:
@@ -89,11 +91,9 @@ validated. Furthermore, the example also illustrates some important features:
8991
- error messages
9092
- length constraint
9193

92-
### Form Field in Action
93-
9494
```dart
9595
96-
// the form's mandatory state key.
96+
// the form's mandatory state key
9797
final formKey = GlobalKey<FormState>();
9898
9999
@override

0 commit comments

Comments
 (0)