profile_component_service_impl.dart 836 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Profile 组件的组件路由
  3. */
  4. import 'package:cpt_profile/modules/setting/setting_page.dart';
  5. import 'package:flutter/cupertino.dart';
  6. import 'package:router/componentRouter/profile_service.dart';
  7. import '../../modules/profile_edit/Profile_edit_page.dart';
  8. class ProfileComponentServiceImpl extends ProfileService {
  9. @override
  10. void startEditProfilePage({BuildContext? context}) {
  11. ProfileEditPage.startInstance(context: context);
  12. }
  13. @override
  14. void startMyEstatePage({BuildContext? context}) {}
  15. @override
  16. void startMyFollowPage({BuildContext? context}) {}
  17. @override
  18. void startMyHouseHoldPage({BuildContext? context}) {}
  19. @override
  20. void startMyPostPage({BuildContext? context}) {}
  21. @override
  22. void startSettingPage({BuildContext? context}) {
  23. SettingPage.startInstance(context: context);
  24. }
  25. }