YaruRadioListTile<T> class
A ListTile with a YaruRadio. In other words, a radio with a label.
See RadioListTile for more details.
See also:
- ListTileTheme, which can be used to affect the style of list tiles, including radio list tiles.
- YaruRadioButton, a similar widget with a desktop style.
- YaruCheckboxListTile, a similar widget for checkboxes.
- YaruSwitchListTile, a similar widget for switches.
- ListTile and YaruRadio, the widgets from which this widget is made.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- YaruToggleListTile
- YaruRadioListTile
Constructors
-
YaruRadioListTile({Key? key, required T value, required T? groupValue, required ValueChanged<
T?> ? onChanged, bool toggleable = false, Widget? control, Widget? title, Widget? subtitle, Widget? secondary, ListTileControlAffinity controlAffinity = ListTileControlAffinity.platform, bool autofocus = false, ShapeBorder? shape, FocusNode? focusNode, MouseCursor? mouseCursor, bool? hasFocusBorder, EdgeInsetsGeometry? contentPadding}) -
Creates a combination of a ListTile and a YaruRadio.
const
Properties
- autofocus → bool
-
See YaruListTile.autofocus.
finalinherited
- contentPadding → EdgeInsetsGeometry?
-
See YaruListTile.contentPadding.
finalinherited
- control → Widget?
-
finalinherited
- controlAffinity → ListTileControlAffinity
-
See ListTileControlAffinity.
finalinherited
- enableFeedback → bool
-
See YaruListTile.enableFeedback.
finalinherited
- focusNode → FocusNode?
-
See YaruListTile.focusNode.
finalinherited
- groupValue → T?
-
See RadioListTile.groupValue.
final
- hasFocusBorder → bool?
-
Whether to display the default focus border on focus or not.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hoverColor → Color?
-
See YaruListTile.hoverColor.
finalinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- mouseCursor → MouseCursor?
-
See YaruListTile.mouseCursor.
finalinherited
-
onChanged
→ ValueChanged<
T?> ? -
See RadioListTile.onChanged.
final
- onOffShapes → bool?
-
See YaruSwitch.onOffShapes
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondary → Widget?
-
See SwitchListTile.secondary.
finalinherited
- shape → ShapeBorder?
-
See YaruListTile.customBorder.
finalinherited
- subtitle → Widget?
-
See YaruListTile.subtitle.
finalinherited
- title → Widget?
-
See YaruListTile.title.
finalinherited
- toggleable → bool
-
See RadioListTile.toggleable.
final
- value → T
-
See RadioListTile.value.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< StatefulWidget> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited