shop_app.dart 444 B

12345678910111213141516
  1. import 'package:flutter/material.dart';
  2. import 'package:flutter_note/routers/application.dart';
  3. class ShopApp extends StatelessWidget {
  4. @override
  5. Widget build(BuildContext context) {
  6. return new Container(
  7. child: MaterialApp(
  8. onGenerateRoute: Application.router.generator,
  9. debugShowCheckedModeBanner: false,
  10. title: 'Flutter Shop',
  11. theme: ThemeData(primaryColor: Colors.pink),
  12. ),
  13. );
  14. }
  15. }