of static method

ActionPaneData? of(
  1. BuildContext context
)

The action pane's data from the closest instance of this class that encloses the given context.

Implementation

static ActionPaneData? of(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<_ActionPaneScope>()
      ?.actionPaneData;
}