AnimationSearchBar constructor
AnimationSearchBar({
- Key? key,
- double? searchBarWidth,
- double? searchBarHeight,
- Widget? previousScreen,
- Color? backIconColor,
- Color? closeIconColor,
- Color? searchIconColor,
- String? centerTitle,
- TextStyle? centerTitleStyle,
- double? searchFieldHeight,
- Decoration? searchFieldDecoration,
- Color? cursorColor,
- TextStyle? textStyle,
- String? hintText,
- TextStyle? hintStyle,
- required dynamic onChanged(),
- required TextEditingController searchTextEditingController,
- double? horizontalPadding,
- double? verticalPadding,
- bool? isBackButtonVisible,
- IconData? backIcon,
- Duration? duration,
Implementation
AnimationSearchBar({
Key? key,
this.searchBarWidth,
this.searchBarHeight,
this.previousScreen,
this.backIconColor,
this.closeIconColor,
this.searchIconColor,
this.centerTitle,
this.centerTitleStyle,
this.searchFieldHeight,
this.searchFieldDecoration,
this.cursorColor,
this.textStyle,
this.hintText,
this.hintStyle,
required this.onChanged,
required this.searchTextEditingController,
this.horizontalPadding,
this.verticalPadding,
this.isBackButtonVisible,
this.backIcon,
this.duration,
}) : super(key: key);