correcciones #2

Open
hack_25030248_eecb82 wants to merge 3 commits from correcciones into master
7 changed files with 248 additions and 196 deletions
Showing only changes of commit 6ae45fd371 - Show all commits

View File

@@ -17,7 +17,7 @@ class PrivacyNoticeCard extends StatelessWidget {
color: AppTheme.lightMint, color: AppTheme.lightMint,
borderRadius: BorderRadius.circular(12), borderRadius: BorderRadius.circular(12),
border: Border.all( border: Border.all(
color: AppTheme.mintGreen.withOpacity(0.3), color: AppTheme.mintGreen.withValues(alpha: 0.3),
width: 1, width: 1,
), ),
), ),
@@ -85,7 +85,7 @@ class _PrivacyPoint extends StatelessWidget {
text, text,
style: TextStyle( style: TextStyle(
fontSize: 12, fontSize: 12,
color: AppTheme.forestGreen.withOpacity(0.85), color: AppTheme.forestGreen.withValues(alpha: 0.85),
height: 1.4, height: 1.4,
), ),
), ),
@@ -105,10 +105,10 @@ class ScheduleWarningBanner extends StatelessWidget {
return Container( return Container(
padding: const EdgeInsets.symmetric(horizontal: 14, vertical: 10), padding: const EdgeInsets.symmetric(horizontal: 14, vertical: 10),
decoration: BoxDecoration( decoration: BoxDecoration(
color: AppTheme.alertAmber.withOpacity(0.10), color: AppTheme.alertAmber.withValues(alpha: 0.10),
borderRadius: BorderRadius.circular(10), borderRadius: BorderRadius.circular(10),
border: Border.all( border: Border.all(
color: AppTheme.alertAmber.withOpacity(0.35), color: AppTheme.alertAmber.withValues(alpha: 0.35),
width: 1, width: 1,
), ),
), ),

View File

@@ -11,7 +11,7 @@ import 'package:flutter_test/flutter_test.dart';
// Use a local test app to avoid depending on external package imports // Use a local test app to avoid depending on external package imports
// which may not exist in the test environment. // which may not exist in the test environment.
class MyApp extends StatefulWidget { class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key); const MyApp({super.key});
@override @override
State<MyApp> createState() => _MyAppState(); State<MyApp> createState() => _MyAppState();