UrlChange class

Details of the change to a web view's url.

Platform specific implementations can add additional fields by extending this class.

This example demonstrates how to extend the UrlChange to provide additional platform specific parameters:

class AndroidUrlChange extends UrlChange {
  const AndroidUrlChange({required super.url, required this.isReload});

  final bool isReload;
}
Annotations

Constructors

UrlChange({required String? url})
Creates a new UrlChange.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
The new url of the web view.
final

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