"Responsive cuando se hace zoom en el texto y actualizacion del telefono"

This commit is contained in:
2025-05-22 16:30:45 +02:00
parent d8f7bd11d8
commit 59b9e372b7
254 changed files with 38459 additions and 36 deletions

View File

@ -1,6 +1,7 @@
import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';
import 'package:crcivan/pages/utils.dart'; // Importar la función global
import 'dart:math' show min;
class CustomBottomBar extends StatelessWidget {
const CustomBottomBar({Key? key}) : super(key: key);
@ -27,7 +28,7 @@ class CustomBottomBar extends StatelessWidget {
color: Colors.blue,
iconSize: getResponsiveFontSize(context, 24.0), // Ajustar el tamaño del icono
onPressed: () {
_launchURL('tel:+348766361379');
_launchURL('tel:+34876636138');
},
),
Expanded(
@ -35,7 +36,7 @@ class CustomBottomBar extends StatelessWidget {
'Avenida Maella, 35 50700 Caspe (Zaragoza)',
textAlign: TextAlign.center,
style: TextStyle(
fontSize: getResponsiveFontSize(context, 14.0),
fontSize: min(getResponsiveFontSize(context, 10.0), 10.0),
fontWeight: FontWeight.bold,
),
),