EditorString class

EditorBase implementation for String properties.

Delegates the actual widget to EditorStringWidget.

Inheritance

Constructors

EditorString({Key? key, required List<Inspectable> owners, required String propertyName, Object? customData, void onUpdatedProperty(dynamic value)?})
Creates an EditorString.

Properties

customData Object?
Arbitrary data forwarded to InspectableProperty.setValue on each edit.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
key Key?
Optional key applied to the widget returned by getWidget.
finalinherited
onUpdatedProperty → void Function(dynamic value)?
Called after the property value has been successfully updated.
finalinherited
owners List<Inspectable>
The Inspectable objects whose property is being edited.
finalinherited
propertyName String
The name of the property to edit.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getWidget(BuildContext context) Widget
Returns an EditorStringWidget configured with this editor's parameters.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited