onPressed property Null safety

Function? onPressed
final, inherited

• Function that is placed top of the widget tree.

• Animation starts AFTER this function.

• For the duration between see beforeAnimationDuration.

Implementation

final Function? onPressed;