ZwapDropDownDecoration class

Constructors

ZwapDropDownDecoration({double? height, double? width, Color? backgroundColor, double borderRadius = 14, double hoverBorderRadius = 8, double overlayBorderRadius = 14, Color? hoverColor, Color? overlayBackgroundColor, EdgeInsets overlayContentPadding = const EdgeInsets.symmetric(horizontal: 9, vertical: 13), EdgeInsets contentPadding = const EdgeInsets.symmetric(horizontal: 20, vertical: 13), double itemSpacing = 2, Offset overlayTranslateOffset = const Offset(0, 0), EdgeInsets insideItemPadding = const EdgeInsets.symmetric(horizontal: 17, vertical: 3), Color? selectedItemColor, Color? itemHoverColor, double? overlayWidth, CrossAxisAlignment itemsAlignment = CrossAxisAlignment.start})
All the data have default values
const
ZwapDropDownDecoration.collapsed({double? height, double? width, double hoverBorderRadius = 8, double overlayBorderRadius = 14, Color? hoverColor, Color? overlayBackgroundColor, EdgeInsets overlayContentPadding = const EdgeInsets.symmetric(horizontal: 9, vertical: 13), double itemSpacing = 2, Offset overlayTranslateOffset = const Offset(0, 0), EdgeInsets insideItemPadding = const EdgeInsets.symmetric(horizontal: 17, vertical: 3), Color? selectedItemColor, Color? itemHoverColor, double? overlayWidth, CrossAxisAlignment? itemsAlignment})
factory

Properties

backgroundColor Color
final
borderRadius double
final
contentPadding EdgeInsets
final
hashCode int
The hash code for this object.
no setterinherited
height double?
final
hoverBorderRadius double
final
hoverColor Color
final
insideItemPadding EdgeInsets
final
itemHoverColor Color
final
itemsAlignment CrossAxisAlignment
final
itemSpacing double
final
overlayBackgroundColor Color
final
overlayBorderRadius double
final
overlayContentPadding EdgeInsets
final
overlayTranslateOffset Offset
final
overlayWidth double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedItemColor Color
final
width double?
final

Methods

copyWith({double? height, double? width, Color? backgroundColor, double? borderRadius, EdgeInsets? contentPadding, Color? hoverColor, Offset? overlayTranslateOffset, Color? itemHoverColor, Color? overlayBackgroundColor, double? overlayBorderRadius, double? hoverBorderRadius, EdgeInsets? overlayContentPadding, EdgeInsets? insideItemPadding, double? itemSpacing, Color? selectedItemColor}) ZwapDropDownDecoration
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