app_component_service_impl.dart 532 B

1234567891011121314151617181920
  1. /*
  2. * App 组件的组件路由
  3. */
  4. import 'package:app/router/page/app_page_router.dart';
  5. import 'package:auto_route/src/router/controller/routing_controller.dart';
  6. import 'package:plugin_basic/provider/app_config/app_config_service.dart';
  7. import 'package:router/componentRouter/app_service.dart';
  8. class AppComponentServiceImpl extends AppService {
  9. @override
  10. RootStackRouter getAppRouter() {
  11. return appRouter;
  12. }
  13. @override
  14. bool isDeviceFullScreen() {
  15. return AppConfigService.getState().isFullScreenDevice;
  16. }
  17. }