CustomDropdownDecoration class

Constructors

CustomDropdownDecoration({Color? closedFillColor, Color? expandedFillColor, List<BoxShadow>? closedShadow, List<BoxShadow>? expandedShadow, Widget? closedSuffixIcon, Widget? expandedSuffixIcon, Widget? prefixIcon, BoxBorder? closedBorder, BorderRadius? closedBorderRadius, BoxBorder? closedErrorBorder, BorderRadius? closedErrorBorderRadius, BoxBorder? expandedBorder, BorderRadius? expandedBorderRadius, TextStyle? hintStyle, TextStyle? headerStyle, TextStyle? noResultFoundStyle, TextStyle? errorStyle, TextStyle? listItemStyle, ScrollbarThemeData? overlayScrollbarDecoration, SearchFieldDecoration? searchFieldDecoration, ListItemDecoration? listItemDecoration})
const

Properties

closedBorder → BoxBorder?
Border for closed state of DropdownFlutter.
final
closedBorderRadius → BorderRadius?
Border radius for closed state of DropdownFlutter.
final
closedErrorBorder → BoxBorder?
Error border for closed state of DropdownFlutter.
final
closedErrorBorderRadius → BorderRadius?
Error border radius for closed state of DropdownFlutter.
final
closedFillColor → Color?
DropdownFlutter field color (closed state).
final
closedShadow → List<BoxShadow>?
DropdownFlutter box shadow (closed state).
final
closedSuffixIcon → Widget?
Suffix icon for closed state of DropdownFlutter.
final
errorStyle → TextStyle?
The style to use for the string returning from validator.
final
expandedBorder → BoxBorder?
Border for opened/expanded state of DropdownFlutter.
final
expandedBorderRadius → BorderRadius?
Border radius for opened/expanded state of DropdownFlutter.
final
expandedFillColor → Color?
DropdownFlutter overlay color (opened/expanded state).
final
expandedShadow → List<BoxShadow>?
DropdownFlutter box shadow (opened/expanded state).
final
expandedSuffixIcon → Widget?
Suffix icon for opened/expanded state of DropdownFlutter.
final
hashCode → int
The hash code for this object.
no setterinherited
headerStyle → TextStyle?
The style to use for the DropdownFlutter header text.
final
hintStyle → TextStyle?
The style to use for the DropdownFlutter header hint.
final
listItemDecoration → ListItemDecoration?
DropdownFlutter list item decoration.
final
listItemStyle → TextStyle?
The style to use for the DropdownFlutter list item text.
final
noResultFoundStyle → TextStyle?
The style to use for the DropdownFlutter no result found area.
final
overlayScrollbarDecoration → ScrollbarThemeData?
DropdownFlutter scrollbar decoration (opened/expanded state).
final
prefixIcon → Widget?
DropdownFlutter header prefix icon.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
searchFieldDecoration → SearchFieldDecoration?
DropdownFlutter search field decoration.
final

Methods

copyWith({Color? closedFillColor, Color? expandedFillColor, List<BoxShadow>? closedShadow, List<BoxShadow>? expandedShadow, Widget? closedSuffixIcon, Widget? expandedSuffixIcon, Widget? prefixIcon, BoxBorder? closedBorder, BorderRadius? closedBorderRadius, BoxBorder? closedErrorBorder, BorderRadius? closedErrorBorderRadius, BoxBorder? expandedBorder, BorderRadius? expandedBorderRadius, TextStyle? hintStyle, TextStyle? headerStyle, TextStyle? noResultFoundStyle, TextStyle? errorStyle, TextStyle? listItemStyle, ScrollbarThemeData? overlayScrollbarDecoration, SearchFieldDecoration? searchFieldDecoration, ListItemDecoration? listItemDecoration}) → CustomDropdownDecoration
Returns a copy of this decoration with the given fields replaced.
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