IndWebIdTextInput class
A StatefulWidget dialog for entering an individual WebID.
The widget no longer confirms a selection on its own; instead the parent form reads the typed text via onTextChanged and validates it when the user presses Grant Permission. uniqRecipWebIdList is a list of the webIds of unique recipients of the owner's data, used to populate suggestions.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- IndWebIdTextInput
Constructors
-
IndWebIdTextInput({List<
String> ? uniqRecipWebIdList, void onTextChanged(String)?, VoidCallback? onClearFunction, Key? key}) -
Initialise widget variables.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onClearFunction → VoidCallback?
-
Optional callback fired when the user presses the Clear button. The
parent form uses this to drop any cached state so the dialog returns
to a clean state.
final
- onTextChanged → void Function(String)?
-
Optional callback fired on every keystroke with the current raw text.
The parent form uses this to capture the field value so it can be
validated when Grant Permission is pressed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
uniqRecipWebIdList
→ List<
String> ? -
List of unique recipient webIds
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< IndWebIdTextInput> -
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