ChromeSafariBrowserMenuItem class Null safety

Class that represents a custom menu item for a ChromeSafariBrowser instance.

Constructors

ChromeSafariBrowserMenuItem({required int id, required String label, required void action(String url, String title)})

Properties

action → void Function(String url, String title)
Callback function to be invoked when the menu item is clicked
final
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
The menu item id
read / write
label String
The label of the menu item
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toMap() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

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