History class Null safety

Implemented types
Annotations
  • @Native("History")

Properties

hashCode int
The hash code for this object.
read-only, inherited
length int
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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
@SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), @SupportedBrowser(SupportedBrowser.IE, '10'), @SupportedBrowser(SupportedBrowser.SAFARI)
replaceState(dynamic data, String title, String? url) → void
@SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), @SupportedBrowser(SupportedBrowser.IE, '10'), @SupportedBrowser(SupportedBrowser.SAFARI)
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