LiveStateInspector class

Describes the Nylo states on screen for metro live:run data.

Walks the element tree under the page on top of the navigation stack and reports every NyPage and NyState it finds, outermost first, with the data Nylo holds for each: the route data passed to it, its query parameters and its state actions.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Methods

data({String? target}) → Map<String, Object?>
The state.data reply: the state target names, or the page on screen.
describe(NyBaseState<StatefulWidget> state) → Map<String, Object?>
The full description of state shown by data.
statesOnScreen() → List<NyBaseState<StatefulWidget>>
Every Nylo state under the page on top of the navigation stack, in the order they nest: the page itself, then the states it builds.
summary(NyBaseState<StatefulWidget> state) → Map<String, Object?>
The one-line description of state used to list the states on screen.

Constants

frameworkStateClasses → const List<String>
Classes whose fields belong to Nylo rather than to the developer.
libraryUri → const String
The library Metro finds nyLiveInspectedState and nyLiveInspectJson in.
stateLimit → const int
The most states one reply describes.