PickerListTileStyle class

Style configuration for individual list tiles in a picker bottom sheet.

Use the named factories for common patterns:

Constructors

PickerListTileStyle({Widget builder(FormOption option, bool isSelected, VoidCallback onTap)?, PickerListTileIndicator indicator = PickerListTileIndicator.none, Color? activeColor, TextStyle? textStyle, TextStyle? selectedTextStyle, EdgeInsetsGeometry? contentPadding, Color? tileColor, Color? selectedTileColor})
const
PickerListTileStyle.checkmark({Color? activeColor, TextStyle? textStyle, TextStyle? selectedTextStyle, EdgeInsetsGeometry? contentPadding, Color? tileColor, Color? selectedTileColor})
Checkmark style — shows a check icon as the trailing widget when selected.
factory
PickerListTileStyle.custom({required Widget builder(FormOption option, bool isSelected, VoidCallback onTap)})
Fully custom builder for complete control over the tile widget.
factory
PickerListTileStyle.radio({Color? activeColor, TextStyle? textStyle, TextStyle? selectedTextStyle, EdgeInsetsGeometry? contentPadding, Color? tileColor, Color? selectedTileColor})
Radio button style — shows a radio icon as the leading widget.
factory

Properties

activeColor → Color?
Color for active indicator icons (radio / checkmark).
final
builder → Widget Function(FormOption option, bool isSelected, VoidCallback onTap)?
Custom builder that overrides the default list tile rendering.
final
contentPadding → EdgeInsetsGeometry?
Content padding for each list tile.
final
hashCode → int
The hash code for this object.
no setterinherited
indicator → PickerListTileIndicator
Which indicator preset to use.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedTextStyle → TextStyle?
Text style for the currently selected item.
final
selectedTileColor → Color?
Background color for the selected tile.
final
textStyle → TextStyle?
Text style for unselected items.
final
tileColor → Color?
Background color for unselected tiles.
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