FlutterDomain class

The analysis domain contains API's related to Flutter support.

Inheritance

Constructors

FlutterDomain(AnalysisServer server)

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
finalinherited
onOutline Stream<FlutterOutlineEvent>
Reports the Flutter outline associated with a single file.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
server AnalysisServer
finalinherited

Methods

getWidgetDescription(String? file, int? offset) Future<WidgetDescriptionResult>
Return the description of the widget instance at the given location.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setSubscriptions(Map<String, List<String>> subscriptions) Future
Subscribe for services that are specific to individual files. All previous subscriptions are replaced by the current set of subscriptions. If a given service is not included as a key in the map then no files will be subscribed to the service, exactly as if the service had been included in the map with an explicit empty list of files.
setWidgetPropertyValue(int? id, {FlutterWidgetPropertyValue? value}) Future<SetWidgetPropertyValueResult>
Set the value of a property, or remove it.
toString() String
A string representation of this object.
inherited

Operators

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