forked from luiscib3r/todo
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Luis Ciber
committed
Sep 5, 2021
1 parent
ebc3d0a
commit a145652
Showing
17 changed files
with
255 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
TODO es una aplicación de código abierto creada por un grupo de desarrolladores cubanos: | ||
|
||
https://github.com/todo-devs/ | ||
|
||
Con el objetivo de ayudar al usuario a consultar y acceder a los servicios de ETECSA. | ||
|
||
Se recomienda al usuario descargar siempre la aplicación desde las fuentes oficiales, las cuáles se listan al final de este escrito y que esté al tanto de las actualizaciones para que la aplicación funcione correctamente. | ||
|
||
No se almacena ni se exporta ningún tipo de información personal del usuario. | ||
|
||
Los servicios solicitados mediante la aplicación responden a las prestaciones de ETECSA, la aplicación solo actúa como una herramienta para facilitar la ejecución de los códigos ussd y la gestión de conexión en el servicio de WIFI_ETECSA y Nauta Hogar. No nos hacemos responsables por demoras o mal funcionamiento de los servicios de la compañía. | ||
|
||
El código de la aplicación se encuentra disponible bajo la licencia de código abierto BSD-3, cualquier tipo de copia, modificación y compilación del código deben hacerse respetando la licencia y bajo principios éticos, no se aceptarán contribuciones al código que traten de engañar a los usuarios o de exportar información de los mismos a servidores externos. | ||
|
||
UNA VEZ MÁS. HACEMOS ÉNFASIS EN QUE LOS USUARIOS DEBEN DESCARGAR LA APLICACIÓN DESDE FUENTES OFICIALES: | ||
|
||
FUENTES OFICIALES: | ||
|
||
1. Google Play | ||
|
||
https://play.google.com/store/apps/details?id=com.cubanopensource.todo | ||
|
||
2. Tienda cubana de aplicaciones Apklis | ||
|
||
|
||
|
||
3. Repositorio oficial de Github | ||
|
||
https://github.com/todo-devs/todo/releases | ||
|
||
Fecha de actualización: 5 de septiembre del 2021 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import 'package:beamer/beamer.dart'; | ||
import 'package:flutter/material.dart'; | ||
import 'package:todo/settings/settings.dart'; | ||
|
||
class DisclaimerPage extends BeamPage { | ||
DisclaimerPage({ | ||
required String disclaimer, | ||
}) : super( | ||
title: 'Términos de uso', | ||
type: BeamPageType.cupertino, | ||
child: DisclaimerView( | ||
disclaimer: disclaimer, | ||
), | ||
); | ||
|
||
static String get pathBlueprint => '/settings/disclaimer'; | ||
|
||
static String route() => '/settings/disclaimer'; | ||
|
||
static void open( | ||
BuildContext context, { | ||
required String disclaimer, | ||
}) => | ||
context.beamToNamed( | ||
route(), | ||
data: {'disclaimer': disclaimer}, | ||
); | ||
|
||
static bool checkBeamState(BeamState state) => | ||
state.pathBlueprintSegments.contains('disclaimer') && | ||
state.data.containsKey('disclaimer'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export 'disclaimer_page.dart'; | ||
export 'settings_location.dart'; | ||
export 'settings_page.dart'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:todo/app/app.dart'; | ||
import 'package:todo/settings/settings.dart'; | ||
import 'package:beamer/beamer.dart'; | ||
|
||
class DisclaimerView extends StatelessWidget { | ||
const DisclaimerView({ | ||
Key? key, | ||
required this.disclaimer, | ||
}) : super(key: key); | ||
|
||
final String disclaimer; | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return Scaffold( | ||
appBar: AppBar( | ||
title: const AppBarTitle('Términos de uso'), | ||
), | ||
body: ListView( | ||
children: [ | ||
const SizedBox( | ||
height: 20, | ||
), | ||
Container( | ||
margin: const EdgeInsets.all(20), | ||
child: Text(disclaimer), | ||
), | ||
const SizedBox( | ||
height: 20, | ||
), | ||
Padding( | ||
padding: const EdgeInsets.symmetric( | ||
horizontal: 30, | ||
), | ||
child: SettingsButton( | ||
text: 'Aceptar', | ||
icon: Icons.verified_user, | ||
onPressed: context.beamBack, | ||
), | ||
), | ||
const SizedBox( | ||
height: 20, | ||
), | ||
], | ||
), | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.