No Description

main.dart 759B

123456789101112131415161718192021222324252627282930313233343536
  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 'package:hello/profileinfo.dart';
  6. import 'register.dart';
  7. import 'welcome.dart';
  8. import 'navigation.dart';
  9. import 'profileinfo.dart';
  10. // import 'dashboard_screen.dart';
  11. void main() => runApp(MyApp());
  12. class MyApp extends StatelessWidget{
  13. static const String title = "FastMed";
  14. @override
  15. Widget build(BuildContext context){
  16. final textTheme = Theme.of(context).textTheme;
  17. return MaterialApp(
  18. title: title,
  19. theme: ThemeData(
  20. textTheme: GoogleFonts.cabinTextTheme(textTheme),
  21. ),
  22. home: WelcomePage(),
  23. );
  24. }
  25. }