Skip to content

Instantly share code, notes, and snippets.

@azamsharp
Created December 9, 2019 20:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azamsharp/f7efd67dd552ccb15666ba536228efa8 to your computer and use it in GitHub Desktop.
Save azamsharp/f7efd67dd552ccb15666ba536228efa8 to your computer and use it in GitHub Desktop.
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