Skip to content
Snippets Groups Projects
Select Git revision
  • 5533743f80386973bc123b5b9c968ad2703571bf
  • master default protected
  • 13-improve-app-metadata
  • 2-display-midi-input
  • Release_0.8.2_27 protected
  • Release_0.8.1_26 protected
  • Release_0.8.0_25 protected
  • Release_0.7.2_24 protected
  • Release_0.7.1_23 protected
  • Release_0.7.0_22 protected
  • Release_0.6.0_21 protected
  • Release_0.5.0_20 protected
  • Release_0.4.0_19 protected
  • Release_0.3.2_18 protected
  • Release_0.3.1_17 protected
  • Release_0.3.0_16 protected
  • Release_0.2.1_15 protected
  • Release_0.2.0_14 protected
  • Release_0.1.1_13 protected
  • Release_0.1.0_12 protected
  • Release_0.0.11_11 protected
  • Release_0.0.10_10 protected
  • Release_0.0.9_9 protected
  • Release_0.0.8_8 protected
24 results

home.dart

Blame
  • diaolog_not_found.dart 998 B
    import 'package:ahorcado/utils/constantes.dart';
    import 'package:flutter/material.dart';
    
    class DialogoNotFound extends StatelessWidget {
      const DialogoNotFound({Key key}) : super(key: key);
    
      @override
      Widget build(BuildContext context) {
        return Scaffold(
          backgroundColor: Color(pizarra),
          body: WillPopScope(
            onWillPop: () async => false,
            child: AlertDialog(
              title: Text('Fallo de conexión'),
              content: Text('No ha sido posible seleccionar ninguna palabra. '
                  'Es posible que la conexión a internet haya fallado.\n'
                  '¿Cambiar al modo Temas sin internet?'),
              actions: [
                FlatButton(
                  child: const Text('VOLVER'),
                  onPressed: () => Navigator.pop(context, false),
                ),
                FlatButton(
                  child: const Text('ACEPTAR'),
                  onPressed: () => Navigator.pop(context, true),
                ),
              ],
            ),
          ),
        );
      }
    }