FlutterOutline class
FlutterOutline
{ "kind": FlutterOutlineKind "offset": int "length": int "codeOffset": int "codeLength": int "label": optional String "dartElement": optional Element "attributes": optional List
Clients may not extend, implement or mix-in this class.
Constructors
-
FlutterOutline(FlutterOutlineKind kind, int offset, int length, int codeOffset, int codeLength, {String? label, Element? dartElement, List<
FlutterOutlineAttribute> ? attributes, String? className, String? parentAssociationLabel, String? variableName, List<FlutterOutline> ? children}) - FlutterOutline.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
-
factory
Properties
-
attributes
↔ List<
FlutterOutlineAttribute> ? -
Additional attributes for this node, which might be interesting to
display on the client. These attributes are usually arguments for the
instance creation or the invocation that created the widget.
getter/setter pair
-
children
↔ List<
FlutterOutline> ? -
The children of the node. The field will be omitted if the node has no
children.
getter/setter pair
- className ↔ String?
-
If the node creates a new class instance, or a reference to an instance,
this field has the name of the class.
getter/setter pair
- codeLength ↔ int
-
The length of the element code.
getter/setter pair
- codeOffset ↔ int
-
The offset of the first character of the element code, which is neither
documentation, nor annotation.
getter/setter pair
- dartElement ↔ Element?
-
If this node is a Dart element, the description of it; omitted otherwise.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- kind ↔ FlutterOutlineKind
-
The kind of the node.
getter/setter pair
- label ↔ String?
-
The text label of the node children of the node. It is provided for any
FlutterOutlineKind.GENERIC node, where better information is not
available.
getter/setter pair
- length ↔ int
-
The length of the element.
getter/setter pair
- offset ↔ int
-
The offset of the first character of the element. This is different than
the offset in the Element, which is the offset of the name of the
element. It can be used, for example, to map locations in the file back
to an outline.
getter/setter pair
- parentAssociationLabel ↔ String?
-
A short text description how this node is associated with the parent
node. For example "appBar" or "body" in Scaffold.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- variableName ↔ String?
-
If FlutterOutlineKind.VARIABLE, the name of the variable.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Returns a JSON presentation of the object.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override