Last active
April 5, 2017 21:54
-
-
Save sethladd/52d64e9bf6c1584e96cd27159b7bbd72 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
import 'package:flutter/material.dart'; | |
import 'eventdetails/eventdetails.dart'; | |
class SquanchyFlutterApp extends StatelessWidget { | |
@override | |
build(context: BuildContext): Widget { | |
final theme = ThemeData( | |
primarySwatch: MaterialColor(0XFFE65B77, { | |
50: Color(0xFFFCEBEF) | |
100: Color(0xFFF8CED6) | |
200: Color(0xFFF3ADBB) | |
300: Color(0xFFEE8CA0) | |
400: Color(0xFFEA748B) | |
500: Color(0XFFE65B77) | |
600: Color(0xFFE3536F) | |
700: Color(0xFFDF4964) | |
800: Color(0xFFDB405A) | |
900: Color(0xFFD52F47) | |
}) | |
accentColor: MaterialAccentColor(0xFF67B6E2, { | |
100: Color(0xFF95CCEB) | |
200: Color(0xFF67B6E2) | |
400: Color(0xFF5FAFDF) | |
700: Color(0xFF4A9ED6) | |
}) | |
fontFamily: "Quicksand" | |
) | |
return MaterialApp( | |
title: 'Squanchy Flutter' | |
theme: theme | |
home: EventDetailsPage() | |
) | |
} | |
} |
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
import 'package:flutter/material.dart'; | |
import 'eventdetails/eventdetails.dart'; | |
class SquanchyFlutterApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
final theme = new ThemeData( | |
primarySwatch: const MaterialColor(0XFFE65B77, const <int, Color>{ | |
50: const Color(0xFFFCEBEF), | |
100: const Color(0xFFF8CED6), | |
200: const Color(0xFFF3ADBB), | |
300: const Color(0xFFEE8CA0), | |
400: const Color(0xFFEA748B), | |
500: const Color(0XFFE65B77), | |
600: const Color(0xFFE3536F), | |
700: const Color(0xFFDF4964), | |
800: const Color(0xFFDB405A), | |
900: const Color(0xFFD52F47), | |
}), | |
accentColor: const MaterialAccentColor(0xFF67B6E2, const <int, Color>{ | |
100: const Color(0xFF95CCEB), | |
200: const Color(0xFF67B6E2), | |
400: const Color(0xFF5FAFDF), | |
700: const Color(0xFF4A9ED6), | |
}), | |
fontFamily: "Quicksand"); | |
return new MaterialApp( | |
title: 'Squanchy Flutter', | |
theme: theme, | |
home: new EventDetailsPage(), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment