SingleSelectStyle class

A class representing styling options for a single select element.

The SingleSelectStyle class defines various style properties that can be used to customize the appearance of a single select element.

Inheritance

Constructors

SingleSelectStyle({TextStyle? labelStyle, TextStyle? selectedOptionTextStyle, TextStyle? optionTextStyle, Color? selectedOptionBackground, Color? optionBackground, double? width, double? height, Color? background, BoxBorder? border, double? borderRadius, Gradient? gradient})

Properties

background Color?
background provides background color to the widget
finalinherited
border BoxBorder?
border provides border around the widget
finalinherited
borderRadius double?
borderRadius provides radius to the border around the widget
finalinherited
borderRadiusGeometry BorderRadiusGeometry?
borderRadiusGeometry
finalinherited
elevation double?
elevation
finalinherited
gradient Gradient?
gradient provides (background) gradient to the widget
finalinherited
hashCode int
The hash code for this object.
no setterinherited
height double?
height provides height to the widget
finalinherited
labelStyle TextStyle?
The text style for the label in the single select element.
getter/setter pair
optionBackground Color?
The background color for the non-selected options in the single select element.
getter/setter pair
optionTextStyle TextStyle?
The text style for the non-selected options in the single select element.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedOptionBackground Color?
The background color for the selected option in the single select element.
getter/setter pair
selectedOptionTextStyle TextStyle?
The text style for the selected option in the single select element.
getter/setter pair
width double?
width provides width to the widget
finalinherited

Methods

merge(SingleSelectStyle mergeWith) SingleSelectStyle
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