History class Null safety

Implemented types
Annotations
  • @Native("History")

Properties

hashCode int
The hash code for this object.
read-onlyinherited
length int
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scrollRestoration String?
read / write
state → dynamic
read-only

Methods

back() → void
override
forward() → void
override
go([int? delta]) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
pushState(dynamic data, String title, String? url) → void
replaceState(dynamic data, String title, String? url) → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

supportsState bool
Checks if the State APIs are supported on the current platform.
read-only