anim_search_bar 2.0.3
anim_search_bar: ^2.0.3 copied to clipboard
A flutter package that has an animated search bar with loads of customization
Anim Search Bar #
![](https://i.ibb.co/hYf13Yh/f.png)
Default
![](https://i.ibb.co/YyPgkgg/ezgif-com-gif-maker.gif)
Expands RTL
![](https://i.ibb.co/FxMJW8K/RPReplay-Final1611222562.gif)
Code #
![](https://i.ibb.co/k80JSS3/carbon.png)
Parameters #
- width
- Type: double
- Required
- textController
- Type: TextEditingController
- Required
- onSuffixTap
- Type: Function
- Required
- rtl
- Type: Boolean
- Optional
- Default: false
- autoFocus
- Type: Boolean
- Optional
- Default: false
- closeOnSuffixTap
- Type: Boolean
- Optional
- Default: false
- suffixIcon
- Type: Icon
- Optional
- Default: Icons.clear
- prefixIcon
- Type: Icon
- Optional
- Default: Icons.search
- animationDurationInMilli
- Type: int
- Optional
- Default: 375 milliseconds
- helpText
- Type: String
- Optional
- Default: Search...