UiPlaygroundCallbackInput class
Input for callback/function parameters.
This input doesn't provide interactive controls - it serves as a marker for the code generator. The generated callback will show a notification with the function name and arguments when triggered.
- Inheritance
-
- Object
- UiPlaygroundInputItem<
Function> - UiPlaygroundCallbackInput
Constructors
Properties
- defaultValue → Function?
-
no setteroverride
- extraInfo → String?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialValue → Function?
-
finalinherited
- isNullable → bool
-
finalinherited
- label → String
-
finalinherited
-
parameterNames
→ List<
String> -
The names of the callback parameters.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → Function?
-
no setterinherited
- valueOrDefault → Function?
-
no setterinherited
- valueOrDefaultRequired → Function
-
no setterinherited
Methods
-
addListener(
VoidCallback listener) → void -
Adds a listener that will be called when the value changes.
This is primarily used internally by UiPlaygroundInputs.
inherited
-
build(
BuildContext context) → Widget -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
inherited
-
removeListener(
VoidCallback listener) → void -
Removes a previously added listener.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateState(
Function? value) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited