Created
December 9, 2019 20:13
-
-
Save azamsharp/f7efd67dd552ccb15666ba536228efa8 to your computer and use it in GitHub Desktop.
This file contains 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
void main() => runApp(App()); | |
class App extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: "Movies", | |
home: | |
ChangeNotifierProvider( | |
create: (context) => MovieListViewModel(), | |
child: MovieListPage(), | |
) | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment