SheetOption class

One row in a picker sheet.

Constructors

SheetOption({required IconData icon, required String label, VoidCallback? onTap, String? subtitle, Color? color, String? badge, Object? popValue})
const

Properties

badge → String?
Small pill after the label, e.g. "AI".
final
color → Color?
final
hashCode → int
The hash code for this object.
no setterinherited
icon → IconData
final
label → String
final
onTap → VoidCallback?
final
popValue → Object?
Result the sheet completes with when this option is chosen.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subtitle → String?
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