ThemedRadioInput<T> class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- ThemedRadioInput
Constructors
-
ThemedRadioInput({Key? key, String? labelText, Widget? label, void onChanged(T?)?, bool disabled = false, T? value, required List<
ThemedSelectItem< items, List<T> >String> errors = const [], bool hideDetails = false, EdgeInsets padding = const EdgeInsets.all(10), Sizes xsSize = Sizes.col12, Sizes? smSize = Sizes.col6, Sizes? mdSize = Sizes.col4, Sizes? lgSize = Sizes.col3, Sizes? xlSize = Sizes.col2}) -
ThemedRadioInput is a radio input.
const
Properties
- disabled → bool
-
items is the list of items of the radio input.
final
-
errors
→ List<
String> -
errors is the list of errors of the radio input.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hideDetails → bool
-
hideDetails is the state of hiding the details of the radio input.
final
-
items
→ List<
ThemedSelectItem< T> > -
value is the value of the radio input.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- label → Widget?
-
label is the label widget of the radio input. Avoid submit label and labelText at the same time.
final
- labelText → String?
-
labelText is the label text of the radio input. Avoid submit label and labelText at the same time.
final
- lgSize → Sizes?
-
lgSize is the size of the radio input in large screens.
final
- mdSize → Sizes?
-
mdSize is the size of the radio input in medium screens.
final
- onChanged → (void Function(T?)?)
-
onChanged is the callback function when the radio input is changed.
final
- padding → EdgeInsets
-
padding is the padding of the radio input.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- smSize → Sizes?
-
smSize is the size of the radio input in small screens.
final
- value → T?
-
disabled is the disabled state of the radio input.
final
- xlSize → Sizes?
-
xlSize is the size of the radio input in extra large screens.
final
- xsSize → Sizes
-
xsSize is the size of the radio input in extra small screens.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< ThemedRadioInput< T> > -
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}) → 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