BeforeChangeCallback typedef

BeforeChangeCallback = bool Function(String previous, String next)

Just a way to ensure the callback always follows the same function, it is used by the MaskedTextController

Implementation

typedef BeforeChangeCallback = bool Function(String previous, String next);