HRadioListItemData<T> class
The data for a single row rendered by HRadioListView.
- Annotations
Constructors
- HRadioListItemData({required Widget title, required String subtitle, required T value, Widget? leading, Widget? suffix})
-
Creates the data for one HRadioListView row.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- leading → Widget?
-
Reserved for a future leading widget. Not currently rendered — see
suffix for the widget slot
RadioListTileactually exposes.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitle → String
-
The row's secondary text. Pass an empty string to omit it.
final
- suffix → Widget?
-
Widget shown alongside the radio control
(
RadioListTile.secondary), e.g. an Icon.final - title → Widget
-
The row's primary text.
final
- value → T
-
The value this row represents. Selected when it equals
HRadioListView.groupValue.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