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
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