main.dart 493 B

1234567891011121314151617181920212223242526
  1. import 'message_display_page.dart';
  2. import 'package:flutter/material.dart';
  3. void main() {
  4. runApp(MyApp());
  5. }
  6. class MyApp extends StatefulWidget {
  7. @override
  8. _MyAppState createState() => _MyAppState();
  9. }
  10. class _MyAppState extends State<MyApp> {
  11. @override
  12. Widget build(BuildContext context) {
  13. return MaterialApp(
  14. home: Scaffold(
  15. appBar: AppBar(
  16. title: const Text('Appsp push example'),
  17. ),
  18. body:MessageDisplayPage(),
  19. ),
  20. );
  21. }
  22. }