EpubContextMenuItem class

A single item in the native text-selection context menu (mobile/desktop).

This is a platform-agnostic type owned by this package so the public API does not leak flutter_inappwebview. On mobile it is mapped to the plugin's native context-menu item; on the web it is ignored (browsers manage their own selection menu).

Constructors

EpubContextMenuItem({required int id, required String title, void action()?})

Properties

action → void Function()?
Invoked when the item is tapped.
final
hashCode int
The hash code for this object.
no setterinherited
id int
Stable identifier for the item.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
Label shown in the menu.
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