onClosed property Null safety

(void Function()?) onClosed
read / write

Implementation

void Function()? onClosed;