1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 06:48:26 +00:00

Adding veggieseasons DetailsScreen. (#14)

This commit is contained in:
Andrew Brogdon
2018-09-06 10:11:58 -07:00
committed by GitHub
parent 0675b1f774
commit d2c3aeb345
3 changed files with 164 additions and 11 deletions

View File

@@ -77,6 +77,8 @@ abstract class Styles {
static const buttonColor = Color(0xff007aff);
static const buttonIconColor = Color(0xffffffff);
static const searchBackground = Color(0xffe0e0e0);
static const TextStyle searchText = TextStyle(
@@ -116,4 +118,14 @@ abstract class Styles {
fontFamily: CupertinoIcons.iconFont,
fontPackage: CupertinoIcons.iconFontPackage,
);
static const transparentColor = Color(0x00000000);
static const shadowColor = Color(0xa0000000);
static const shadowGradient = LinearGradient(
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
colors: [transparentColor, shadowColor],
);
}