+13
-13
@@ -1,14 +1,14 @@
|
||||
import 'package:app/core/router/app_router.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class MyApp extends StatelessWidget {
|
||||
const MyApp({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp.router(
|
||||
title: '测试应用',
|
||||
routerConfig:appRouter
|
||||
);
|
||||
}
|
||||
import 'package:app/core/router/app_router.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class MyApp extends StatelessWidget {
|
||||
const MyApp({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp.router(
|
||||
title: '测试应用',
|
||||
routerConfig:appRouter
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user