pub trait TextServices {
// Required methods
fn look_up(&self, text: &str);
fn search_web(&self, text: &str);
fn share(&self, text: &str);
}Expand description
The text services a selection toolbar offers: Flutter’s LookUp, SearchWeb and Share platform-channel calls.
Required Methods§
Sourcefn search_web(&self, text: &str)
fn search_web(&self, text: &str)
Searches the web for the given text (Flutter’s SearchWeb.invoke).
Shares the given text (Flutter’s Share.invoke).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".