DropDownThemeData class
Theme data for Dropdown
.
- Annotations
Constructors
- DropDownThemeData({IconThemeData? iconThemeData, TextStyle? textStyle, Color? disabledColor, Color? color, Color? focusColor, Color? hoverColor, Color? waitingColor, Color? backgroundColor, Color? hoverBackgroundColor, Color? waitingBackgroundColor, Color? disabledBackgroundColor, BorderSide? border})
-
Creates a DropDownThemeData.
const
Properties
- backgroundColor → Color?
-
The background color of the button.
final
- border → BorderSide?
-
The color of the icon in the drop down.
final
- color → Color?
-
The color of the border.
final
- disabledBackgroundColor → Color?
-
The background color when the button is disabled.
final
- disabledColor → Color?
-
The color of the border when disabled.
final
- focusColor → Color?
-
The color of the border when focused.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hoverBackgroundColor → Color?
-
The background color when the button is being hovered.
final
- hoverColor → Color?
-
The color of the border when hovered.
final
- iconThemeData → IconThemeData?
-
The icon theme of the button. The color is ignored.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textStyle → TextStyle?
-
The style of the button.
final
- waitingBackgroundColor → Color?
-
The background color when the menu is open.
final
- waitingColor → Color?
-
The color of the border when the menu is open.
final
Methods
-
copyWith(
{IconThemeData? iconThemeData, TextStyle? textStyle, Color? disabledColor, Color? color, Color? focusColor, Color? hoverColor, Color? waitingColor, Color? backgroundColor, Color? hoverBackgroundColor, Color? waitingBackgroundColor, Color? disabledBackgroundColor, BorderSide? border}) → DropDownThemeData - Makes a copy of DropDownThemeData overwriting selected fields.
-
merge(
DropDownThemeData? other) → DropDownThemeData - Merges the theme data DropDownThemeData.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant DropDownThemeData other) → bool -
The equality operator.
override