UFUSingleSelectHeader constructor

const UFUSingleSelectHeader({
  1. required String title,
  2. TextEditingController? searchInputCtrl,
  3. String? inputHintText,
  4. bool canShowSearchBar = false,
  5. ValueChanged<String>? onSearch,
  6. bool canShowIconButton = false,
  7. Color? iconButtonBackgroundColor,
  8. double? iconButtonBorderRadius,
  9. VoidCallback? onIconButtonTap,
  10. IconData? iconButtonIcon,
  11. Color? iconButtonIconColor,
  12. double? iconButtonIconSize,
  13. Widget? iconButtonIconWidget,
  14. Widget? suffixChild,
  15. bool isDisabled = false,
  16. bool showIncludeInactiveButton = false,
  17. VoidCallback? onTapIncludeInactiveButton,
  18. bool includeInactive = false,
  19. Key? key,
})

Implementation

const UFUSingleSelectHeader({
  required this.title,
  this.searchInputCtrl,
  this.inputHintText,
  this.canShowSearchBar = false,
  this.onSearch,
  this.canShowIconButton = false,
  this.iconButtonBackgroundColor,
  this.iconButtonBorderRadius,
  this.onIconButtonTap,
  this.iconButtonIcon,
  this.iconButtonIconColor,
  this.iconButtonIconSize,
  this.iconButtonIconWidget,
  this.suffixChild,
  this.isDisabled = false,
  this.showIncludeInactiveButton = false,
  this.onTapIncludeInactiveButton,
  this.includeInactive = false,
  super.key});