SelectPickerInputStyle class
Customization styles for the legacy SelectPicker input field.
Constructors
- SelectPickerInputStyle({Color? borderColor = Colors.black87, Color? backgroundColor = Colors.white, double? height = 55, double? borderRadius = 50, Color? errorColor = const Color(0xFFD32F2F), double? spaceBarSize = 1.6, Color? iconColor = Colors.black87, double? borderSize = 1, Color? backgoundDisabledColor = const Color(0xFFD6D6D6), Color? iconColorDisabled = Colors.black87, double? iconSize, double? elevation = 0, TextStyle? hintStyle, TextStyle? textStyle, EdgeInsets? internalPadding, bool? showDropIndicator, IconData? iconDropDwon})
- Creates a SelectPickerInputStyle with default values.
Properties
- backgoundDisabledColor ↔ Color?
-
The background color when the input is disabled.
getter/setter pair
- backgroundColor ↔ Color?
-
The background color of the input.
getter/setter pair
- borderColor ↔ Color?
-
The color of the border.
getter/setter pair
- borderRadius ↔ double?
-
The border radius of the input field.
getter/setter pair
- borderSize ↔ double?
-
The width of the border.
getter/setter pair
- elevation ↔ double?
-
The elevation of the input card.
getter/setter pair
- errorColor ↔ Color?
-
The color of the error message text.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ double?
-
The height of the input field.
getter/setter pair
- hintStyle ↔ TextStyle?
-
The style for the hint text.
getter/setter pair
- iconColor ↔ Color?
-
The color of the trailing icon.
getter/setter pair
- iconColorDisabled ↔ Color?
-
The icon color when the input is disabled.
getter/setter pair
- iconDropDwon ↔ IconData?
-
The icon to display for the dropdown.
getter/setter pair
- iconSize ↔ double?
-
The size of the trailing icon.
getter/setter pair
- internalPadding ↔ EdgeInsets?
-
The internal padding of the input field.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showDropIndicator ↔ bool?
-
Whether to show the dropdown arrow/indicator.
getter/setter pair
- spaceBarSize ↔ double?
-
The size of the space bar separator.
getter/setter pair
- textStyle ↔ TextStyle?
-
The style for the selected item text.
getter/setter pair
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