GSField.checkList constructor
      
      GSField.checkList({ 
    
    
- Key? key,
 - required String tag,
 - required bool searchable,
 - required List<
CheckDataModel> items, - required ValueChanged<
CheckDataModel> callBack, - RequiredCheckListEnum? requiredCheckListEnum,
 - String? title,
 - String? errorMessage,
 - String? helpMessage,
 - Widget? prefixWidget,
 - bool? showTitle,
 - GSFieldStatusEnum? status,
 - int? weight,
 - RegExp? validateRegEx,
 - String? hint,
 - Axis? scrollDirection,
 - Widget? selectedIcon,
 - Widget? unSelectedIcon,
 - bool? scrollable,
 - double? height,
 - bool? showScrollBar,
 - Color? scrollBarColor,
 - String? searchHint,
 - Icon? searchIcon,
 - BoxDecoration? searchBoxDecoration,
 
Implementation
GSField.checkList({
  Key? key,
  required String tag,
  required bool searchable,
  required List<CheckDataModel> items,
  required ValueChanged<CheckDataModel> callBack,
  RequiredCheckListEnum? requiredCheckListEnum,
  String? title,
  String? errorMessage,
  String? helpMessage,
  Widget? prefixWidget,
  bool? showTitle,
  GSFieldStatusEnum? status,
  int? weight,
  RegExp? validateRegEx,
  String? hint,
  Axis? scrollDirection,
  Widget? selectedIcon,
  Widget? unSelectedIcon,
  bool? scrollable,
  double? height,
  bool? showScrollBar,
  Color? scrollBarColor,
  String? searchHint,
  Icon? searchIcon,
  BoxDecoration? searchBoxDecoration,
}) : super(key: key) {
  bool isRequired = false;
  if (requiredCheckListEnum != null && requiredCheckListEnum != RequiredCheckListEnum.none) {
    isRequired = true;
  }
  model = GSCheckBoxModel(
      type: GSFieldTypeEnum.checkList,
      tag: tag,
      showTitle: showTitle ?? true,
      title: title,
      errorMessage: errorMessage,
      helpMessage: helpMessage,
      required: isRequired,
      status: status,
      weight: weight,
      showScrollBar: showScrollBar,
      scrollBarColor: scrollBarColor,
      hint: hint,
      items: items,
      callBack: callBack,
      scrollDirection: scrollDirection,
      unSelectedIcon: unSelectedIcon,
      selectedIcon: selectedIcon,
      scrollable: scrollable ?? false,
      height: height,
      searchable: searchable,
      searchHint: searchHint,
      searchIcon: searchIcon,
      searchBoxDecoration: searchBoxDecoration,
      requiredCheckListEnum: requiredCheckListEnum);
}