Skip to main content

TextInputFormatFunction

Type Alias TextInputFormatFunction 

Source
pub type TextInputFormatFunction = Rc<dyn Fn(&TextEditingValue, &TextEditingValue) -> TextEditingValue>;
Expand description

Function signature expected for creating custom TextInputFormatter shorthands via TextInputFormatterRef::with_function.

Aliased Typeยง

pub struct TextInputFormatFunction { /* private fields */ }