onPush method

  1. @override
void onPush()
override

Called after the page is pushed onto the router.

Implementation

@override
void onPush() {
  super.onPush();
  _cellRect = cellSource?.rect;
  session.addListener(_sessionListener);
  _initCamera();
  if (filter != XAssetKind.image) _refreshMicPermission();
}