PagePlugin class

page plugin, allows voyager to understand page mappings you provide in your yaml file

Inheritance

Constructors

PagePlugin(Map<String, VoyagerPageBuilder> builders)
default constructor
const

Properties

builders Map<String, VoyagerPageBuilder>
page builder mappings
final
hashCode int
The hash code for this object.
no setterinherited
node String
name of node this plugin is handling in the navigation schema
finalinherited
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
outputFor(VoyagerContext context, dynamic config, Voyager output) → void
build output
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

defaultCupertino(Widget widget, VoyagerPage page) Page
default mapping for cupertino page
defaultMaterial(Widget widget, VoyagerPage page) Page
default mapping for material page

Constants

KEY → const String
plugin node name