onPressed property Null safety

(void Function?()?) onPressed
final

Implementation

final void Function()? onPressed;