Ultima version para Google Play, cambios en politicas y colores. Nuevo aviso legal

This commit is contained in:
2025-03-12 09:54:39 +01:00
parent 0d61ca6d01
commit 6c062682f6
13 changed files with 624 additions and 125 deletions

11
lib/pages/utils.dart Normal file
View File

@ -0,0 +1,11 @@
import 'package:flutter/material.dart';
double getResponsiveFontSize(BuildContext context, double baseFontSize) {
double screenWidth = MediaQuery.of(context).size.width;
// Ajustar el tamaño del texto en función del ancho de la pantalla
if (screenWidth > 600) {
return baseFontSize * 1.6; // Aumentar el tamaño del texto en tablets
} else {
return baseFontSize; // Mantener el tamaño del texto en teléfonos
}
}