EasyDropdownConfig class

Configuration class for EasyDropdown widget.

Constructors

EasyDropdownConfig({double? radius, Color? backgroundColor, double? tileHeight, double? dropdownWidth, double? dropdownHeight, EasyDropdownAlignment? dropdownAlignment, EasyDropdownDirection? dropdownDirection, double? buttonMargin, bool? showDividers, DividerBuilder? dividerBuilder, Duration? animationDuration, double? dropdownElevation})
Creates an instance of EasyDropdownConfig with optional parameters.
const

Properties

animationDuration Duration?
The duration for the dropdown animation.
final
backgroundColor Color?
Optional background color of the dropdown. Defaults to ColorScheme.surfaceVariant if null.
final
buttonMargin double?
The margin between the button and the dropdown.
final
dividerBuilder → DividerBuilder?
Builder function for custom dividers. Defaults to Divider if null
final
Optional alignment of the dropdown relative to the button. Defaults to EasyDropdownAlignment.center if null.
final
Optional direction of the dropdown. Use EasyDropdownDirection enum to specify the direction. If null, the dropdown will follow the default direction.
final
The elevation of the dropdown menu. Controls the shadow depth of the dropdown. A higher value will make the dropdown appear elevated above the surrounding content.
final
Optional height of the dropdown.
final
Optional width of the dropdown.
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
radius double?
Optional radius for rounding the corners of the dropdown. Defaults to FloatingActionButtonThemeData.shape if null. Defaults to 16 if FloatingActionButtonThemeData.shape is null.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showDividers bool?
Whether to display dividers between items.
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
tileHeight double?
Optional height of individual tiles in the dropdown list. Defaults to 56 if null.
final

Methods

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