Skip to content

Commit 0342bb8

Browse files
Update README.md
1 parent f0b3df4 commit 0342bb8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# Animated Hint TextField
1+
# Animated Hint
22

3-
![License](https://img.shields.io/badge/license-MIT-blue.svg) ![Version](https://img.shields.io/badge/version-1.0.0-orange.svg)
3+
![License](https://img.shields.io/badge/license-MIT-blue.svg) ![Version](https://img.shields.io/badge/version-0.0.1-orange.svg)
4+
5+
![Screen-Recording-2024-10-03-at-5 26 49 AM](https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExcW0waWZxdmUzNGF5ZGw5bDB3Z2xjM3JzYjBzMnp1ZmF2eW5xdTI3aiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/i0yhni93xTR5PGKvyj/giphy.gif)
46

57
## Table of Contents
68

@@ -49,10 +51,7 @@ class MyApp extends StatelessWidget {
4951
child: AnimatedHintTextField(
5052
fixedHint: "Search",
5153
hints: const ['\"Flights\"', '\"Accounts\"'],
52-
animationType: _animationType,
53-
onTapOutside: (_) {
54-
FocusScope.of(context).unfocus();
55-
},
54+
animationType: AnimationType.slide,
5655
),
5756
),
5857
),
@@ -61,6 +60,7 @@ class MyApp extends StatelessWidget {
6160
}
6261
```
6362

63+
6464
## API Reference
6565

6666
### AnimatedHintTextField

0 commit comments

Comments
 (0)