Created
May 11, 2020 10:59
-
-
Save ibtesam123/ff8f664eb695d3ca4ebdc27b4bd74c88 to your computer and use it in GitHub Desktop.
Realtime Chat-II
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:scoped_model/scoped_model.dart'; | |
import './AllChatsPage.dart'; | |
import './ChatModel.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return ScopedModel( | |
model: ChatModel(), | |
child: MaterialApp( | |
debugShowCheckedModeBanner: false, | |
home: AllChatsPage(), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment