Skip to content

Instantly share code, notes, and snippets.

@this-is-richard
Last active March 10, 2019 15:22
Show Gist options
  • Save this-is-richard/80e0130453b0ffdba29754756373c864 to your computer and use it in GitHub Desktop.
Save this-is-richard/80e0130453b0ffdba29754756373c864 to your computer and use it in GitHub Desktop.
Everything starts from colours
// 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