nl_service_impl.dart 486 B

1234567891011121314151617181920212223242526
  1. import 'package:plugin_basic/basic_export.dart';
  2. import 'package:router/componentRouter/nl_service.dart';
  3. import '../modules/main/main_page.dart';
  4. /// 荷兰组件对应的路由实现类
  5. class NLServiceImpl extends GetxService implements NLService {
  6. @override
  7. void onInit() {
  8. super.onInit();
  9. //初始化资源
  10. }
  11. @override
  12. void onClose() {
  13. super.onClose();
  14. //销毁资源
  15. }
  16. @override
  17. void startNLMainPage() {
  18. NLMainPage.startWithPopAll();
  19. }
  20. }