GlobalRoute class

The class used for obtaining and setting the current route on the website

This class contains functionality for receiving changes to the current route ofthe pages and is used in route views in order to get the current component for the given route view.

Annotations
  • @sealed

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 Properties

currentRoute String
Get the current route of the page
getter/setter pair

Static Methods

getChanges(Element element, [TemplateState? state]) → dynamic