Anim Search Bar

Codacy Badge

Default

Expands RTL

Code

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...

Libraries