onInactive method

void onInactive(
  1. BuildContext context,
  2. T box
)

Called when the app becomes inactive.

Implementation

void onInactive(BuildContext context, T box) {}