SuperSearchBar class
Constructors
-
SuperSearchBar({Color? resultColor, Color backgroundColor = CupertinoColors.tertiarySystemFill, String cancelButtonText = "Cancel", String placeholderText = "Search", bool enabled = true, SearchBarScrollBehavior scrollBehavior = SearchBarScrollBehavior.floated, SearchBarAnimationBehavior animationBehavior = SearchBarAnimationBehavior.top, SearchBarResultBehavior resultBehavior = SearchBarResultBehavior.visibleOnFocus, Duration animationDuration = const Duration(milliseconds: 250), TextStyle placeholderTextStyle = const TextStyle(color: CupertinoColors.systemGrey), TextStyle cancelTextStyle = const TextStyle(color: CupertinoColors.systemBlue), Icon prefixIcon = const Icon(CupertinoIcons.search), List<SuperAction> actions = const <SuperAction>[], double height = 40, EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 15.0), Widget searchResult = const Text(".", style: TextStyle(color: Colors.transparent)), TextStyle textStyle = const TextStyle(), ValueChanged<String>? onChanged, ValueChanged<String>? onSubmitted, ValueChanged<bool>? onFocused, TextEditingController? searchController, FocusNode? searchFocusNode})
-
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited