main.dart 507 B

12345678910111213141516171819202122
  1. import 'package:agora_chat_demo/home_page.dart';
  2. import 'package:flutter/material.dart';
  3. void main() {
  4. runApp(const MyApp());
  5. }
  6. class MyApp extends StatelessWidget {
  7. const MyApp({Key? key}) : super(key: key);
  8. // This widget is the root of your application.
  9. @override
  10. Widget build(BuildContext context) {
  11. return MaterialApp(
  12. title: 'Flutter Demo',
  13. theme: ThemeData(
  14. primarySwatch: Colors.blue,
  15. ),
  16. home: const HomePage(title: 'Flutter SDK Demo'),
  17. );
  18. }
  19. }