import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; import 'package:get/get.dart'; import 'package:isekai_wiki/models/user.dart'; class LifeCycleController extends SuperController { @override void onDetached() {} @override void onInactive() {} @override void onPaused() { debugPrint("onPause"); } @override void onResumed() { debugPrint("onResume"); var uc = Get.find(); uc.attemptFinishAuth(); } }