SearchAppBar constructor

SearchAppBar({
  1. Key? key,
  2. required double childHeight,
  3. double? appBarHeight,
  4. Color? appBarColor,
  5. Widget? body,
  6. bool? Scroll,
  7. AlignmentGeometry? childAlignment,
  8. DecorationImage? childBackGroundimage,
  9. BoxBorder? childBorder,
  10. List<BoxShadow>? childBoxShadow,
  11. double? childCircularRadius,
  12. Color? childColor,
  13. Gradient? childGradient,
  14. EdgeInsetsGeometry? childPadding,
  15. double? childWidth,
  16. double? columnSpaces,
  17. required dynamic onSelected(
    1. int SelectedIndex
    ),
  18. double? rowSpaces,
  19. required Widget builder(
    1. int Index
    ),
  20. required int itemCount,
  21. Widget? FilterWidget,
  22. Widget? SortWidget,
  23. bool? SubAppBarVisible,
  24. required dynamic onTheSearch(
    1. bool isOnTheSearch,
    2. String SearchText
    )?,
  25. Widget? OnTheRightWidget,
  26. Icon? SearchIcon,
  27. bool? SearchIconVisible,
  28. double? barLeftPadding,
  29. double? barRightPadding,
  30. double? paddingBetweenSearchBarAndRightWidget,
  31. dynamic onValueChange(
    1. String value
    )?,
  32. dynamic onSearchTapped()?,
  33. Widget? OnTheLeftWidget,
  34. double? paddingBetweenSearchBarAndLeftWidget,
})

Implementation

SearchAppBar({
  super.key,
  required this.childHeight,
  this.appBarHeight,
  this.appBarColor,
  this.body,
  this.Scroll,
  this.childAlignment,
  this.childBackGroundimage,
  this.childBorder,
  this.childBoxShadow,
  this.childCircularRadius,
  this.childColor,
  this.childGradient,
  this.childPadding,
  this.childWidth,
  this.columnSpaces,
  required this.onSelected,
  this.rowSpaces,
  required this.builder,
  required this.itemCount,
  this.FilterWidget,
  this.SortWidget,
  this.SubAppBarVisible,
  required this.onTheSearch,
  this.OnTheRightWidget,
  this.SearchIcon,
  this.SearchIconVisible,
  this.barLeftPadding,
  this.barRightPadding,
  this.paddingBetweenSearchBarAndRightWidget,
  this.onValueChange,
  this.onSearchTapped,
  this.OnTheLeftWidget,
  this.paddingBetweenSearchBarAndLeftWidget,
});