Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Rafa Castillo Passols
/
Prototipo-Multimedia
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
08ff2f1b
authored
May 22, 2025
by
Rafa Castillo Passols
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Mejorado un poco los diálogos y añadido algo sencillo en creadores
parent
94d88125
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
13 deletions
lib/paginas/pagina_ajustes.dart
lib/paginas/pagina_ajustes.dart
View file @
08ff2f1b
...
@@ -24,10 +24,6 @@ class _PaginaAjustesState extends State<PaginaAjustes> {
...
@@ -24,10 +24,6 @@ class _PaginaAjustesState extends State<PaginaAjustes> {
int
incluirSubcarpeta
=
0
;
int
incluirSubcarpeta
=
0
;
int
carpetaSalida
=
0
;
int
carpetaSalida
=
0
;
String
subtituloModoConversion
=
"Copiar / Comprimir / Preguntar siempre"
;
String
subtituloIncluirSubcarpetas
=
"Siempre / Nunca"
;
String
subtituloCarpetaSalida
=
"Preguntar siempre / Elegir"
;
@override
@override
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
return
Scaffold
(
...
@@ -98,7 +94,33 @@ class _PaginaAjustesState extends State<PaginaAjustes> {
...
@@ -98,7 +94,33 @@ class _PaginaAjustesState extends State<PaginaAjustes> {
),
),
),
),
InkWell
(
InkWell
(
onTap:
()
{},
onTap:
()
{
showDialog
(
context:
context
,
builder:
(
context
)
{
TextTheme
textTheme
=
Theme
.
of
(
context
).
textTheme
;
return
SimpleDialog
(
children:
[
Column
(
children:
[
Text
(
"Convertex"
,
style:
textTheme
.
titleLarge
,
),
const
SizedBox
(
height:
8.0
,),
Text
(
"Diego Pérez Peña"
,
style:
textTheme
.
bodyLarge
,
),
const
SizedBox
(
height:
4.0
,),
Text
(
"Rafael Castillo Passols"
,
style:
textTheme
.
bodyLarge
,
),
],
)
],
);
});
},
child:
ListTile
(
child:
ListTile
(
title:
const
Text
(
"Creadores"
),
title:
const
Text
(
"Creadores"
),
),
),
...
@@ -116,14 +138,22 @@ class _PaginaAjustesState extends State<PaginaAjustes> {
...
@@ -116,14 +138,22 @@ class _PaginaAjustesState extends State<PaginaAjustes> {
var
listaOpciones
=
<
Widget
>[];
var
listaOpciones
=
<
Widget
>[];
opciones
.
asMap
().
forEach
((
index
,
opcion
)
{
opciones
.
asMap
().
forEach
((
index
,
opcion
)
{
listaOpciones
.
add
(
listaOpciones
.
add
(
ListTile
(
// Me gustaria que al pulsar en cualquier sitio se hiciese splash
leading:
Radio
<
int
>(
// solo en el Radio pero no se como todavia
value:
index
,
GestureDetector
(
groupValue:
seleccionado
,
behavior:
HitTestBehavior
.
translucent
,
onChanged:
(
int
?
changed
)
{
callbacks
[
index
]();}
onTap:
callbacks
[
index
],
),
child:
Row
(
title:
Text
(
opcion
),
children:
[
)
Radio
<
int
>(
value:
index
,
groupValue:
seleccionado
,
onChanged:
(
int
?
changed
)
{
callbacks
[
index
]();}
),
Text
(
opcion
)
],
),
)
);
);
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment