SelectPickerTopSelectorStyle class

Customization styles for the legacy SelectPicker top header area.

Constructors

SelectPickerTopSelectorStyle({Color? backgroundColor = const Color(0xFFeeeef7), Color? closeIconColor = const Color(0xFFE40101), TextStyle? textStyle = const TextStyle(fontSize: 18, height: 1, color: const Color(0xFF303030)), double? height = 45, double? borderRadius = 15, Icon? iconTitle})
Creates a SelectPickerTopSelectorStyle with default values.

Properties

backgroundColor Color?
The background color of the top header.
getter/setter pair
borderRadius double?
The border radius of the top header corners.
getter/setter pair
closeIconColor Color?
The color of the close icon in the header.
getter/setter pair
closeIconSize double?
The size of the close icon.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height double?
The height of the top header area.
getter/setter pair
iconTitle Icon?
An optional icon to display next to the header title.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showCloseButton bool?
Whether to show the close button in the header.
getter/setter pair
textStyle TextStyle?
The text style for the header title.
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