onAction method

void onAction(
  1. BuildContext context,
  2. C cube,
  3. CubeAction action
)

called when cube send any Action to view.

Implementation

// ignore: no-empty-block
void onAction(BuildContext context, C cube, CubeAction action) {}