AnimationSearchBar constructor

AnimationSearchBar({
  1. Key? key,
  2. double? searchBarWidth,
  3. double? searchBarHeight,
  4. Widget? previousScreen,
  5. Color? backIconColor,
  6. Color? closeIconColor,
  7. Color? searchIconColor,
  8. String? centerTitle,
  9. TextStyle? centerTitleStyle,
  10. double? searchFieldHeight,
  11. Decoration? searchFieldDecoration,
  12. Color? cursorColor,
  13. TextStyle? textStyle,
  14. String? hintText,
  15. TextStyle? hintStyle,
  16. required dynamic onChanged(
    1. String
    ),
  17. required TextEditingController searchTextEditingController,
  18. double? horizontalPadding,
  19. double? verticalPadding,
  20. bool? isBackButtonVisible,
  21. IconData? backIcon,
  22. 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);