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:
@@ -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],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user