fix: actualizar la forma de aplicar opacidad en colores de tema en PrivacyNoticeCard y ScheduleWarningBanner
This commit is contained in:
@@ -17,7 +17,7 @@ class PrivacyNoticeCard extends StatelessWidget {
|
||||
color: AppTheme.lightMint,
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
border: Border.all(
|
||||
color: AppTheme.mintGreen.withOpacity(0.3),
|
||||
color: AppTheme.mintGreen.withValues(alpha: 0.3),
|
||||
width: 1,
|
||||
),
|
||||
),
|
||||
@@ -85,7 +85,7 @@ class _PrivacyPoint extends StatelessWidget {
|
||||
text,
|
||||
style: TextStyle(
|
||||
fontSize: 12,
|
||||
color: AppTheme.forestGreen.withOpacity(0.85),
|
||||
color: AppTheme.forestGreen.withValues(alpha: 0.85),
|
||||
height: 1.4,
|
||||
),
|
||||
),
|
||||
@@ -105,10 +105,10 @@ class ScheduleWarningBanner extends StatelessWidget {
|
||||
return Container(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 14, vertical: 10),
|
||||
decoration: BoxDecoration(
|
||||
color: AppTheme.alertAmber.withOpacity(0.10),
|
||||
color: AppTheme.alertAmber.withValues(alpha: 0.10),
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
border: Border.all(
|
||||
color: AppTheme.alertAmber.withOpacity(0.35),
|
||||
color: AppTheme.alertAmber.withValues(alpha: 0.35),
|
||||
width: 1,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user