Forked from https://github.com/davigmacode/flutter_smart_select, updated legacy code, migrated to null safety and more. AwesomeSelect allows you to easily convert your usual form select or dropdown into dynamic page, popup dialog, or sliding bottom sheet with various choices input such as radio, checkbox, switch, chips, or even custom input. Supports single and multiple choice.
When set groupEnabled: true,, throw below exception:
The following _CastError was thrown building S2GroupHeader(dirty):
type 'List<Widget?>' is not a subtype of type 'List<Widget>' in type cast
The relevant error-causing widget was:
GetMaterialApp GetMaterialApp:file:///C:/Users/dell/Desktop/gongxhfile/reliser/lechat/lib/main.dart:40:22
When the exception was thrown, this was the stack:
#0 S2GroupHeader.build (package:awesome_select/src/group_header.dart:37:43)
When set
groupEnabled: true,
, throw below exception:The error code is in group_header.dart: