Ingen beskrivning

main.dart 665B

123456789101112131415161718192021222324252627282930313233
  1. import 'package:flutter/cupertino.dart';
  2. import 'package:flutter_login/flutter_login.dart';
  3. import 'package:flutter/material.dart';
  4. import 'package:google_fonts/google_fonts.dart';
  5. import 'register.dart';
  6. import 'welcome.dart';
  7. // import 'dashboard_screen.dart';
  8. void main() => runApp(MyApp());
  9. class MyApp extends StatelessWidget{
  10. static const String title = "FastMed";
  11. @override
  12. Widget build(BuildContext context){
  13. final textTheme = Theme.of(context).textTheme;
  14. return MaterialApp(
  15. title: title,
  16. theme: ThemeData(
  17. textTheme: GoogleFonts.cabinTextTheme(textTheme),
  18. ),
  19. home: WelcomePage(),
  20. );
  21. }
  22. }