main.dart 549 B

1234567891011121314151617181920212223
  1. import 'package:flutter/material.dart';
  2. import 'package:flutter_cocktail/model/config.dart';
  3. import 'package:flutter_cocktail/pages/homepage.dart';
  4. void main() {
  5. runApp(MyApp());
  6. }
  7. // ignore: use_key_in_widget_constructors
  8. class MyApp extends StatelessWidget {
  9. @override
  10. Widget build(BuildContext context) {
  11. return MaterialApp(
  12. debugShowCheckedModeBanner: false,
  13. title: "Cocktail App",
  14. theme: ThemeData(
  15. primarySwatch: myColor,
  16. fontFamily: "Pacifico",
  17. ),
  18. home: const HomePage(),
  19. );
  20. }
  21. }