AdeptDropDownTheme class

Theme data for the entire AdeptMultiDropDown and AdeptDropDown widget.

Constructors

AdeptDropDownTheme.new({TextStyle? labelTextStyle, TextStyle? hintTextStyle, TextStyle? valueTextStyle, EdgeInsets labelPadding = const EdgeInsets.only(bottom: 5), bool isSearch = true, BoxDecoration? boxDecoration, EdgeInsets fieldPadding = const EdgeInsets.only(left: 10, right: 10, top: 10), Widget? suffixWidget, CardThemeData? cardTheme, AdeptTextFieldTheme? searchBoxTheme, TextStyle? itemTextStyle, double height = 45, bool isClose = true, Color? multiSelectItemBgColor})
AdeptDropDownTheme Constructor allows you to define styling and value properties.

Properties

boxDecoration BoxDecoration?
use for boxDecoration
getter/setter pair
cardTheme CardThemeData?
use drop down decoration
getter/setter pair
fieldPadding EdgeInsets
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
height double
getter/setter pair
hintTextStyle TextStyle
getter/setter pairinherited
isClose bool
Is Close Visible
getter/setter pair
isSearch bool
isSearch for search option visible or invisible in dropdown
getter/setter pair
itemTextStyle TextStyle?
Drop Down Text Style
getter/setter pair
labelPadding EdgeInsets
getter/setter pairinherited
labelTextStyle TextStyle
getter/setter pairinherited
multiSelectItemBgColor Color?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchBoxTheme AdeptTextFieldTheme?
Drop down search box theme
getter/setter pair
suffixWidget Widget?
use for suffixWidget
getter/setter pair
valueTextStyle TextStyle
getter/setter pairinherited

Methods

copyWith({bool? isSearch, BoxDecoration? boxDecoration, Widget? suffixWidget, CardThemeData? cardTheme, AdeptTextFieldTheme? searchBoxTheme, TextStyle? itemTextStyle, bool? isClose, double? height, TextStyle? labelTextStyle, TextStyle? hintTextStyle, TextStyle? valueTextStyle, EdgeInsets? labelPadding, EdgeInsets? fieldPadding, Color? multiSelectItemBgColor}) AdeptDropDownTheme
Creates a copy of this theme but with the given fields replaced with the new values.
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