pub enum IOSSystemContextMenuItemData {
Copy,
Cut,
Paste,
SelectAll,
LookUp {
title: String,
},
SearchWeb {
title: String,
},
Share {
title: String,
},
LiveText,
Custom {
title: String,
on_pressed: Listener,
callback_id: String,
},
}Expand description
Describes a context menu button that will be rendered in the system context menu.
Dart’s sealed IOSSystemContextMenuItemData subclasses are the variants.
Variants§
Copy
The system’s built-in copy button.
Cut
The system’s built-in cut button.
Paste
The system’s built-in paste button.
SelectAll
The system’s built-in select-all button.
LookUp
The system’s built-in look-up button.
SearchWeb
The system’s built-in search-web button.
The system’s built-in share button.
LiveText
The system’s built-in Live Text button.
Custom
A developer-defined button.
Implementations§
Trait Implementations§
Source§impl Clone for IOSSystemContextMenuItemData
impl Clone for IOSSystemContextMenuItemData
Source§impl Debug for IOSSystemContextMenuItemData
impl Debug for IOSSystemContextMenuItemData
Auto Trait Implementations§
impl !RefUnwindSafe for IOSSystemContextMenuItemData
impl !Send for IOSSystemContextMenuItemData
impl !Sync for IOSSystemContextMenuItemData
impl !UnwindSafe for IOSSystemContextMenuItemData
impl Freeze for IOSSystemContextMenuItemData
impl Unpin for IOSSystemContextMenuItemData
impl UnsafeUnpin for IOSSystemContextMenuItemData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more