Last active
March 10, 2019 15:22
-
-
Save this-is-richard/80e0130453b0ffdba29754756373c864 to your computer and use it in GitHub Desktop.
Everything starts from colours
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
// imports and the main() function above | |
class WhatsAppClone extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'WhatsApp', | |
theme: ThemeData( | |
primaryColor: Color(0xff075e54), | |
indicatorColor: Colors.white, | |
primaryColorDark: Color(0xFF128C7E), | |
primaryIconTheme: IconThemeData( | |
color: Colors.white, | |
), | |
textTheme: TextTheme( | |
title: TextStyle(color: Colors.white), | |
), | |
), | |
home: Home(), | |
// closing tags below |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment