forked from eatvio/eatvio_app
fix: analyzer
This commit is contained in:
@@ -25,7 +25,7 @@ class AppDecoration {
|
||||
);
|
||||
|
||||
static BoxDecoration get fillDeepOrange => BoxDecoration(
|
||||
color: appTheme.deepOrange900.withOpacity(0.8),
|
||||
color: appTheme.deepOrange900.withValues(alpha: 0.8),
|
||||
);
|
||||
|
||||
static BoxDecoration get fillGray => BoxDecoration(
|
||||
@@ -41,7 +41,7 @@ class AppDecoration {
|
||||
);
|
||||
|
||||
static BoxDecoration get fillGreenA => BoxDecoration(
|
||||
color: appTheme.greenA700.withOpacity(0.8),
|
||||
color: appTheme.greenA700.withValues(alpha: 0.8),
|
||||
);
|
||||
|
||||
static BoxDecoration get fillPrimary => BoxDecoration(
|
||||
@@ -77,7 +77,7 @@ class BorderRadiusStyle {
|
||||
color: appTheme.whiteA700,
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
color: appTheme.black900.withOpacity(0.15),
|
||||
color: appTheme.black900.withValues(alpha: 0.15),
|
||||
spreadRadius: 2,
|
||||
blurRadius: 2,
|
||||
offset: Offset(
|
||||
|
||||
@@ -175,7 +175,7 @@ class PrimaryColors {
|
||||
|
||||
Color get lightGray => Color(0xFFCECECE);
|
||||
|
||||
Color get transparentBlue => Color(0xFF2F80ED).withOpacity(0.1);
|
||||
Color get transparentBlue => Color(0xFF2F80ED).withValues(alpha: 0.1);
|
||||
|
||||
Color get lightGray0 => Color(0xFFF6F6F6);
|
||||
|
||||
@@ -185,7 +185,7 @@ class PrimaryColors {
|
||||
|
||||
Color get red => Color(0xFFCD4141);
|
||||
|
||||
Color get transparentBlack => Color(0xFF1313264).withOpacity(0.3);
|
||||
Color get transparentBlack => Color(0xFF1313264).withValues(alpha: 0.3);
|
||||
}
|
||||
|
||||
PrimaryColors get appTheme => ThemeHelper().themeColor();
|
||||
|
||||
Reference in New Issue
Block a user