DropdownComponentsConfiguration<T> constructor
DropdownComponentsConfiguration<T> ({
- SearchFieldComponent? searchFieldComponent,
- TriggerComponent? triggerComponent,
- SearchingIndicatorComponent? searchingIndicatorComponent,
- AnimationComponent? animationComponent,
- ListViewComponent? listViewComponent,
- SearchBarComponent? searchBarComponent,
- TriggerFromItemComponent<
T> ? triggerFromItemComponent,
Implementation
DropdownComponentsConfiguration({
SearchFieldComponent? searchFieldComponent,
TriggerComponent? triggerComponent,
MenuComponent? menuComponent,
MenuPositionAndSizeComponent? menuPositionAndSizeComponent,
SearchingIndicatorComponent? searchingIndicatorComponent,
AnimationComponent? animationComponent,
ListViewComponent? listViewComponent,
SearchBarComponent? searchBarComponent,
//
TriggerFromItemComponent<T>? triggerFromItemComponent,
//
MenuFlexValues? menuFlexValues,
MenuSizeConfiguration? menuSizeConfiguration,
MenuAnimationDurations? menuAnimationDurations,
MenuAnimationCurves? menuAnimationCurves,
}) : super(
searchFieldComponent:
searchFieldComponent ?? DropdownSearchFieldComponent(),
//
searchingIndicatorComponent: searchingIndicatorComponent ??
DropdownSearchingIndicatorComponent(),
//
animationComponent:
animationComponent ?? DropdownAnimationComponent(),
//
menuPositionAndSizeComponent: menuPositionAndSizeComponent ??
DropdownMenuPositionAndSizeComponent(),
//
triggerComponent: triggerComponent ?? DropdownTriggerComponent(),
//
menuComponent: menuComponent ?? DropdownMenuComponent(),
//
listViewComponent: listViewComponent ?? DropdownListViewComponent(),
//
searchBarComponent:
searchBarComponent ?? DropdownSearchBarComponent(),
//
triggerFromItemComponent: triggerFromItemComponent,
//
menuFlexValues: menuFlexValues ?? defaultMenuFlexValues,
//
menuSizeConfiguration:
menuSizeConfiguration ?? defaultMenuSizeConfiguration,
//
menuAnimationDurations:
menuAnimationDurations ?? defaultMenuAnimationDurations,
//
menuAnimationCurves:
menuAnimationCurves ?? defaultMenuAnimationCurves,
);