"Responsive cuando se hace zoom en el texto y actualizacion del telefono"
This commit is contained in:
@ -8,6 +8,7 @@ import 'package:crcivan/bars/app_bar';
|
||||
import 'package:crcivan/bars/bottom_bar';
|
||||
import 'package:crcivan/widgets/background_widget.dart';
|
||||
import 'package:crcivan/pages/utils.dart';
|
||||
import 'dart:math' show min;
|
||||
|
||||
class SeccionesPage extends StatefulWidget {
|
||||
const SeccionesPage({Key? key}) : super(key: key);
|
||||
@ -73,21 +74,19 @@ class _SeccionesPageState extends State<SeccionesPage> {
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
child: Wrap(
|
||||
children: [
|
||||
const Text(
|
||||
'ÚLTIMO RIEGO',
|
||||
Text(
|
||||
'ÚLTIMO RIEGO ',
|
||||
style: TextStyle(
|
||||
fontSize: 20.0,
|
||||
fontSize: min(getResponsiveFontSize(context, 20.0), 24.0),
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 8.0),
|
||||
Text(
|
||||
seccion['section'],
|
||||
style: TextStyle(
|
||||
fontSize: getResponsiveFontSize(context, 20.0),
|
||||
fontSize: min(getResponsiveFontSize(context, 20.0), 24.0),
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user