MultiSelectNested constructor
const
MultiSelectNested({
- Key? key,
- required List<
MultiSelectNestedItem> options, - MultiSelectNestedController? controller,
- dynamic setSelectedValues()?,
- List<
MultiSelectNestedItem> selectedValues = const <MultiSelectNestedItem>[], - bool isAnimatedContainer = false,
- bool liveUpdateValues = false,
- EdgeInsets paddingDropdown = const EdgeInsets.all(8),
- EdgeInsets paddingSelectedItems = const EdgeInsets.all(8),
- Curve effectAnimatedContainer = Curves.fastOutSlowIn,
- Duration durationEffect = const Duration(seconds: 1),
- double heightDropdownContainer = 0,
- double heightDropdownContainerDefault = 200,
- Color dropdownContainerColor = MultiSelectNestedColors.SECONDARY_LIGHT_COLOR,
- Color collapsedIconColor = MultiSelectNestedColors.PRIMARY,
- Color selectedItemColor = MultiSelectNestedColors.TERTIARY_COLOR,
- Color selectedItemDividerColor = MultiSelectNestedColors.SECONDARY_COLOR,
- String noItemsText = 'No Items Selected...',
- Color selectedItemsRowColor = MultiSelectNestedColors.SECONDARY_LIGHT_COLOR,
- TextStyle noItemsTextStyle = const TextStyle(fontSize: 12, color: MultiSelectNestedColors.PRIMARY_LIGHT_COLOR_01),
- TextStyle styleDropdownItemName = const TextStyle(fontSize: 15, color: MultiSelectNestedColors.PRIMARY),
Implementation
const MultiSelectNested({
super.key,
required this.options,
this.controller,
this.setSelectedValues,
this.selectedValues = const <MultiSelectNestedItem>[],
this.isAnimatedContainer = false,
this.liveUpdateValues = false,
this.paddingDropdown = const EdgeInsets.all(8),
this.paddingSelectedItems = const EdgeInsets.all(8),
this.effectAnimatedContainer = Curves.fastOutSlowIn,
this.durationEffect = const Duration(seconds: 1),
this.heightDropdownContainer = 0,
this.heightDropdownContainerDefault = 200,
this.dropdownContainerColor = MultiSelectNestedColors.SECONDARY_LIGHT_COLOR,
this.collapsedIconColor = MultiSelectNestedColors.PRIMARY,
this.selectedItemColor = MultiSelectNestedColors.TERTIARY_COLOR,
this.selectedItemDividerColor = MultiSelectNestedColors.SECONDARY_COLOR,
this.noItemsText = 'No Items Selected...',
this.selectedItemsRowColor = MultiSelectNestedColors.SECONDARY_LIGHT_COLOR,
this.noItemsTextStyle = const TextStyle(
fontSize: 12,
color: MultiSelectNestedColors.PRIMARY_LIGHT_COLOR_01,
),
this.styleDropdownItemName = const TextStyle(
fontSize: 15,
color: MultiSelectNestedColors.PRIMARY,
),
});