profile_component_service_impl.dart 957 B

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