Created
December 15, 2020 02:53
-
-
Save jacobaraujo7/8f86b329ddf4bf0d51603edc3c1897e0 to your computer and use it in GitHub Desktop.
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
class AppWidget extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Flutter Demo with Modular', | |
theme: ThemeData( | |
primarySwatch: Colors.blue, | |
), | |
).modular(); //added this | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment