Files

27 lines
702 B
Dart
Raw Permalink Normal View History

import 'package:flutter/material.dart';
import '../ui/core/app_theme.dart';
import 'dependencies.dart';
import 'router.dart';
class ServiceClientApp extends StatefulWidget {
const ServiceClientApp({required this.dependencies, super.key});
final AppDependencies dependencies;
@override
State<ServiceClientApp> createState() => _ServiceClientAppState();
}
class _ServiceClientAppState extends State<ServiceClientApp> {
late final _router = createRouter(widget.dependencies);
@override
Widget build(BuildContext context) => MaterialApp.router(
title: '瓶安芯服务工作台',
debugShowCheckedModeBanner: false,
theme: AppTheme.light(),
routerConfig: _router,
);
}