main_component_service_impl.dart 556 B

12345678910111213141516171819202122
  1. /*
  2. * Main 组件的组件路由
  3. */
  4. import 'package:cpt_main/modules/main/main_page.dart';
  5. import 'package:flutter/material.dart';
  6. import 'package:router/componentRouter/main_service.dart';
  7. import '../../modules/feedback/create/feedback_create_page.dart';
  8. class MainComponentServiceImpl extends MainService {
  9. @override
  10. void startMainPage({BuildContext? context}) {
  11. MainPage.startInstance(context: context);
  12. }
  13. @override
  14. void startFeedbackCreatePage({BuildContext? context}) {
  15. FeedbackCreatePage.startInstance(context: context);
  16. }
  17. }