main.dart 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. import 'package:flutter/material.dart';
  2. import 'package:flutter_bloc/flutter_bloc.dart';
  3. import 'screens/user_interface_list.dart';
  4. void main() {
  5. runApp(const MyApp());
  6. }
  7. class MyApp extends StatelessWidget {
  8. const MyApp({super.key});
  9. // This widget is the root of your application.
  10. @override
  11. Widget build(BuildContext context) {
  12. return MaterialApp(
  13. title: 'Flutter Demo',
  14. theme: ThemeData(
  15. // This is the theme of your application.
  16. //
  17. // TRY THIS: Try running your application with "flutter run". You'll see
  18. // the application has a purple toolbar. Then, without quitting the app,
  19. // try changing the seedColor in the colorScheme below to Colors.green
  20. // and then invoke "hot reload" (save your changes or press the "hot
  21. // reload" button in a Flutter-supported IDE, or press "r" if you used
  22. // the command line to start the app).
  23. //
  24. // Notice that the counter didn't reset back to zero; the application
  25. // state is not lost during the reload. To reset the state, use hot
  26. // restart instead.
  27. //
  28. // This works for code too, not just values: Most code changes can be
  29. // tested with just a hot reload.
  30. colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
  31. useMaterial3: true,
  32. ),
  33. home: UserInterfaceList());
  34. }
  35. }