DropdownDecoration class
Represents the decoration for the dropdown.
Constructors
- DropdownDecoration({Color backgroundColor = Colors.white, double elevation = 1, double maxHeight = 400, double marginTop = 0, BorderRadius borderRadius = const BorderRadius.all(Radius.circular(12)), Widget? header})
-
Creates a new instance of DropdownDecoration.
const
Properties
- backgroundColor → Color
-
The background color of the dropdown.
final
- borderRadius → BorderRadius
-
The border radius of the dropdown.
final
- elevation → double
-
The elevation of the dropdown.
final
-
The custom footer widget to display at the bottom of the dropdown.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → Widget?
-
The custom header widget to display at the top of the dropdown.
final
- marginTop → double
-
the margin top of the dropdown
final
- maxHeight → double
-
The maximum height of the dropdown.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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