-
-
Save TechieBlossom/c52952363c674c19c1dd9f9de73e332a 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
class MovieApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
//1 | |
ScreenUtil.init(); | |
//2 | |
return MaterialApp( | |
debugShowCheckedModeBanner: false, | |
title: 'Movie App', | |
theme: ThemeData( | |
//3 | |
primaryColor: AppColor.vulcan, | |
scaffoldBackgroundColor: AppColor.vulcan, | |
visualDensity: VisualDensity.adaptivePlatformDensity, | |
textTheme: ThemeText.getTextTheme(), | |
appBarTheme: const AppBarTheme(elevation: 0), | |
), | |
//4 | |
home: HomeScreen(), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment