You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
468 B
22 lines
468 B
import 'package:adaptive_layout/src/routes.dart'; |
|
import 'package:flutter/material.dart'; |
|
|
|
void main() { |
|
runApp(const MyApp()); |
|
} |
|
|
|
class MyApp extends StatelessWidget { |
|
const MyApp({super.key}); |
|
|
|
@override |
|
Widget build(final BuildContext context) { |
|
return MaterialApp.router( |
|
title: 'Adaptive Layout Demo', |
|
theme: ThemeData( |
|
primaryColor: Colors.deepPurple, |
|
useMaterial3: true, |
|
), |
|
routerConfig: router, |
|
); |
|
} |
|
}
|
|
|