actions property

PageStateActions get actions

Actions for the page this route builds.

e.g. HomePage.path.actions.showToast("hello"). A page usually keeps one on its class - static final actions = path.actions; - so a call site reads HomePage.actions.showToast("hello").

Implementation

PageStateActions get actions => PageStateActions(this);