CDropdownStyle class

Inheritance

Constructors

CDropdownStyle({Color? backgroundColor, Color? foregroundColor, LinearGradient? gradient, bool filled = false, bool bordered = false, TextStyle? itemsTextStyle, TextStyle? textStyle, bool? itemsFilled})
CDropdownStyle.bordered({Color? foregroundColor, TextStyle? itemsTextStyle, TextStyle? textStyle, bool? itemsFilled})
Creates a bordered dropdown style.
factory
CDropdownStyle.borderedFilled({Color? backgroundColor, Color? foregroundColor, LinearGradient? gradient, TextStyle? itemsTextStyle, TextStyle? textStyle, bool? itemsFilled})
Creates a bordered and filled dropdown style.
factory
CDropdownStyle.filled({Color? backgroundColor, Color? foregroundColor, LinearGradient? gradient, TextStyle? itemsTextStyle, TextStyle? textStyle, bool? itemsFilled})
Creates a filled dropdown style.
factory
CDropdownStyle.simple({Color? foregroundColor, TextStyle? itemsTextStyle, TextStyle? textStyle, bool? itemsFilled})
Creates a simple dropdown style.
factory

Properties

backgroundColor Color?
Background color of the field.
finalinherited
bordered bool
Indicates if the field is bordered.
finalinherited
filled bool
Indicates if the field is filled.
finalinherited
foregroundColor Color
Foreground color of the field.
finalinherited
gradient LinearGradient?
Gradient of the field.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
itemsFilled bool?
Indicates whether the dropdown items should be filled.
final
itemsTextStyle TextStyle?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textStyle TextStyle?
final

Methods

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