onAfterPush property Null safety

(dynamic Function(Widget)?) onAfterPush
read / write

Middleware to be executed after the navigation

Implementation

static Function(Widget)? onAfterPush;