"Responsive cuando se hace zoom en el texto y actualizacion del telefono"
This commit is contained in:
@ -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,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user