StudioInputGroup class
A field with add-ons in one window: leading and trailing stand as engraved plates at its ends (a scheme, a unit), parted from the words by a groove; the window's rim and edge light while the words have the keyboard.
Built on ui_core's DesignInputGroup; reads style's fill and edge,
then StudioThemeData.textFieldStyle.
StudioInputGroup(label: 'Feed address', leading: const Text('https://'), hint: 'roomtone.example/feed', onChanged: (v) => feed = v)
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- StudioInputGroup
Constructors
-
StudioInputGroup({Key? key, TextEditingController? controller, FocusNode? focusNode, Widget? leading, Widget? trailing, String? label, String? hint, String? helper, String? error, ValueChanged<
String> ? onChanged, ValueChanged<String> ? onSubmitted, TextInputType? keyboardType, List<TextInputFormatter> ? inputFormatters, bool enabled = true, StudioStyle? style}) -
A field with add-ons.
const
Properties
- controller → TextEditingController?
-
The words; yours to dispose.
final
- enabled → bool
-
Whether it takes words.
final
- error → String?
-
What is wrong, under it.
final
- focusNode → FocusNode?
-
A focus node given is the caller's, who disposes it: the part never
does. Given none, the part makes its own and disposes it.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- helper → String?
-
A note under it.
final
- hint → String?
-
What it says while empty.
final
-
inputFormatters
→ List<
TextInputFormatter> ? -
What it lets through.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardType → TextInputType?
-
The keyboard it asks for.
final
- label → String?
-
The label above it.
final
- leading → Widget?
-
The add-on before the words.
final
-
onChanged
→ ValueChanged<
String> ? -
Called as the words change.
final
-
onSubmitted
→ ValueChanged<
String> ? -
Called when the words are submitted.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → StudioStyle?
-
Its style, over StudioThemeData.textFieldStyle.
final
- trailing → Widget?
-
The add-on after the words.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< StudioInputGroup> -
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.
override
-
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