TinoGuo / pin_input_text_field

A textField widget to help display different style pin
Apache License 2.0
384 stars 83 forks source link

implement onChanged #17

Closed AlexV525 closed 4 years ago

AlexV525 commented 4 years ago

既可传controller也可使用onChanged,不强制要求使用controller来监听或控制行为。

/// The callback will execute field changed.
final ValueChanged<String> onChanged;
......
/// {@macro flutter.widgets.editableText.onChanged}
///
/// See also:
///
///  * [inputFormatters], which are called before [onChanged]
///    runs and can validate and change ("format") the input value.
///  * [onEditingComplete], [onSubmitted], [onSelectionChanged]:
///    which are more specialized input change notifications.
final ValueChanged<String> onChanged;
TinoGuo commented 4 years ago

It will be implemented in the next version.

AlexV525 commented 4 years ago

Thanks. It helps a lot 👍

TinoGuo commented 4 years ago

implemented after bf7d1e3