DropdownComponentsConfiguration<T> class
Defines the appearance of SelectionMenu as a typical dropdown menu.
A series of examples/guides can be found here.
- Inheritance
-
- Object
- ComponentsConfiguration<
T> - DropdownComponentsConfiguration
Constructors
-
DropdownComponentsConfiguration({SearchFieldComponent? searchFieldComponent, TriggerComponent? triggerComponent, SearchingIndicatorComponent? searchingIndicatorComponent, AnimationComponent? animationComponent, ListViewComponent? listViewComponent, SearchBarComponent? searchBarComponent, TriggerFromItemComponent<
T> ? triggerFromItemComponent, })
Properties
- animationComponent → AnimationComponent
-
Returns a container Widget that supports animation.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- listViewComponent → ListViewComponent
-
Returns a Widget which acts as a scrollable list.
finalinherited
-
finalinherited
-
finalinherited
-
Returns a Widget that wraps SearchBarComponent and ListViewMenu.
finalinherited
-
Defines flex values for some components.
finalinherited
-
Returns a
MenuSizeAndPosition
after performing some calculation.finalinherited -
Defines the size and behaviour of menu in various conditions.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchBarComponent → SearchBarComponent
-
Returns a Widget that wraps SearchingIndicatorComponent and
SearchFieldComponent.
finalinherited
- searchFieldComponent → SearchFieldComponent
-
Defines a builder that returns a Widget where a user can input text.
finalinherited
- searchingIndicatorComponent → SearchingIndicatorComponent
-
Returns a Widget that acts as an Indicator for when search is in progress.
finalinherited
- triggerComponent → TriggerComponent
-
Returns a Widget that acts as a button(trigger) to open/close menu.
finalinherited
-
triggerFromItemComponent
→ TriggerFromItemComponent<
T> ? -
Returns a Widget that acts as a trigger(like a button for example) to
open/close menu, where the trigger reflects the currently selected item.
finalinherited
Methods
-
copyWith(
{SearchFieldComponent? searchFieldComponent, TriggerComponent? triggerComponent, TriggerFromItemComponent< T> ? triggerFromItemComponent, SearchingIndicatorComponent? searchingIndicatorComponent, AnimationComponent? animationComponent, ListViewComponent? listViewComponent, SearchBarComponent? searchBarComponent, }) → ComponentsConfiguration<T> -
Returns a ComponentsConfiguration constructed from the values of this,
overwritten by the non-null arguments passed to the method.
inherited
-
disposeListViewMenuComponents(
) → void -
Dispose Components used by ListViewMenu.
inherited
-
disposeSelectionMenuComponents(
) → void -
Dispose Components used by SelectionMenu.
inherited
-
initListViewMenuComponents(
) → void -
Initialize Components used by ListViewMenu.
inherited
-
initSelectionMenuComponents(
) → void -
Initialize Components used by SelectionMenu.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- defaultMenuAnimationCurves ↔ MenuAnimationCurves
-
getter/setter pair
- defaultMenuAnimationDurations ↔ MenuAnimationDurations
-
getter/setter pair
- defaultMenuFlexValues ↔ MenuFlexValues
-
getter/setter pair
- defaultMenuSizeConfiguration ↔ MenuSizeConfiguration
-
getter/setter pair