onPressed property Null safety

dynamic Function() onPressed
final

function to call on the button press

Implementation

final Function() onPressed;