TreeSelectDropDown<int> constructor
const
TreeSelectDropDown<int> ({
- Key? key,
- required OnOptionSelected<
int> ? onOptionSelected, - required List<
TreeNode> options, - TreeSelectionType treeSelectionType = TreeSelectionType.singleSelect,
- List<
TreeNode> selectedOptions = const [], - ChipConfig chipConfig = const ChipConfig(),
- IconData suffixIcon = Icons.arrow_drop_down,
- Decoration? inputDecoration,
- FocusNode? focusNode,
- TreeSelectController<
int> ? controller, - bool isDisabled = false,
- String clearAllText = "Clear All",
- List<
ValueMapper> ? valueMapper, - String? errorMessage,
- String? helpText,
- bool readOnly = false,
Implementation
const TreeSelectDropDown({
Key? key,
required this.onOptionSelected,
required this.options,
this.treeSelectionType = TreeSelectionType.singleSelect,
this.selectedOptions = const [],
this.chipConfig = const ChipConfig(),
this.suffixIcon = Icons.arrow_drop_down,
this.inputDecoration,
this.focusNode,
this.controller,
this.isDisabled = false,
this.clearAllText = "Clear All",
this.valueMapper,
this.errorMessage,
this.helpText,
this.readOnly = false,
}) : super(key: key);