PluginView class

A plugin's answer to "what are you showing right now?", as data.

Native plugins draw real Flutter widgets for humans. They also emit one of these, so the same state reaches fw, a file projection, and an agent. The panel forks; the contract does not.

This is deliberately not a rendering kit — nothing interprets these nodes to build the GUI. It is a projection: a summary faithful enough that reading it tells you what is on screen.

Constructors

PluginView(List<ViewNode> nodes)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
no setter
nodes → List<ViewNode>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

capped(int maxRows) → PluginView
The same projection with no list or table longer than maxRows, the rest counted in ViewItems.truncated.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → List<Map<String, Object?>>
toString() → String
A string representation of this object.
override
toText() → String
Renders the projection as an indented plain-text tree — what fw prints and what an agent reads.

Operators

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

Constants

empty → const PluginView