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
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
fwprints and what an agent reads.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- empty → const PluginView