pub type InputCounterWidgetBuilder = Rc<dyn Fn(&mut App, BuildContext, i32, Option<i32>, bool) -> Option<WidgetRef>>;Expand description
Signature for the TextField::build_counter callback.
Its arguments after the context are Dart’s named currentLength (the length of the string
currently in the input), maxLength (the maximum string length that can be entered into
the TextField) and isFocused (whether or not the TextField is currently focused).
Aliased Type§
pub struct InputCounterWidgetBuilder { /* private fields */ }