OnChange typedef Null safety

OnChange = void Function(String text)

Implementation

typedef OnChange = void Function(String text);