OnDone typedef Null safety

OnDone = void Function(String text)

Implementation

typedef OnDone = void Function(String text);