[−][src]Struct flutter_engine::plugins::textinput::TextInputPlugin
Methods
impl TextInputPlugin[src]
pub fn new() -> TextInputPlugin[src]
pub fn with_state(&self, cbk: impl Fn(&mut TextEditingState))[src]
pub fn add_chars(&self, c: &str)[src]
pub fn select_all(&self)[src]
pub fn remove_selected_text(&self) -> bool[src]
remove_selected_text do nothing if no text is selected return true if the state has been updated
pub fn backspace(&self)[src]
Delete char to the left of caret
pub fn delete(&self)[src]
Delete char to the right of caret
pub fn move_cursor_up(&self, modifiers: Modifiers)[src]
pub fn move_cursor_down(&self, modifiers: Modifiers)[src]
pub fn move_cursor_left(&self, modifiers: Modifiers)[src]
pub fn move_cursor_right(&self, modifiers: Modifiers)[src]
pub fn move_cursor_home(&self, modifiers: Modifiers)[src]
pub fn move_cursor_end(&self, modifiers: Modifiers)[src]
pub fn get_selected_text(&self) -> String[src]
pub fn perform_action(&self, action: &str)[src]
Trait Implementations
impl Plugin for TextInputPlugin[src]
fn init_channel(&self, registry: &PluginRegistry) -> &str[src]
fn handle(
&mut self,
msg: &PlatformMessage,
_: Arc<FlutterEngineInner>,
_: &mut Window
)[src]
&mut self,
msg: &PlatformMessage,
_: Arc<FlutterEngineInner>,
_: &mut Window
)
Auto Trait Implementations
impl Send for TextInputPlugin
impl !Sync for TextInputPlugin
Blanket Implementations
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.