uk_service_impl.dart 496 B

123456789101112131415161718192021222324
  1. import 'package:cpt_uk/modules/main/main_page.dart';
  2. import 'package:plugin_basic/basic_export.dart';
  3. import 'package:router/componentRouter/uk_service.dart';
  4. /// 英国组件对应的路由实现类
  5. class UKServiceImpl extends GetxService implements UKService {
  6. @override
  7. void onInit() {
  8. super.onInit();
  9. //初始化资源
  10. }
  11. @override
  12. void onClose() {
  13. super.onClose();
  14. //销毁资源
  15. }
  16. @override
  17. void startUKMainPage() {
  18. UKMainPage.startWithPopAll();
  19. }
  20. }