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
269a0fce
authored
Mar 07, 2025
by
Diego Pérez Peña
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Cambios menores en la página principal
parent
a9e75540
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
35 deletions
lib/paginas/pagina_principal.dart
lib/paginas/pagina_principal_vacia.dart
lib/paginas/pagina_principal.dart
View file @
269a0fce
...
...
@@ -57,8 +57,6 @@ class _PaginaPrincipalState extends State<PaginaPrincipal> {
);
}
body:
construirPaginaPrincipal
(),
Widget
_construirCuerpo
(
BuildContext
context
)
{
if
(
false
){
return
PaginaPrincipalLlena
();
...
...
@@ -66,24 +64,5 @@ class _PaginaPrincipalState extends State<PaginaPrincipal> {
else
{
return
PaginaPrincipalVacia
();
}
/*return SafeArea(
child: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(
'No hay archivos seleccionados',
style: Theme.of(context).textTheme.titleLarge,
),
const SizedBox(height: 16.0),
Text(
'Pulsa el botón + para agregarlos',
style: Theme.of(context).textTheme.bodyLarge,
)
],
),
)
);*/
}
}
lib/paginas/pagina_principal_vacia.dart
View file @
269a0fce
...
...
@@ -5,21 +5,24 @@ class PaginaPrincipalVacia extends StatelessWidget {
@override
Widget
build
(
BuildContext
context
)
{
return
Center
(
child:
Column
(
mainAxisAlignment:
MainAxisAlignment
.
center
,
children:
<
Widget
>[
Text
(
'No hay archivos seleccionados'
,
style:
Theme
.
of
(
context
).
textTheme
.
titleLarge
,
return
SafeArea
(
child:
Center
(
child:
Column
(
mainAxisAlignment:
MainAxisAlignment
.
center
,
crossAxisAlignment:
CrossAxisAlignment
.
center
,
children:
[
Text
(
'No hay archivos seleccionados'
,
style:
Theme
.
of
(
context
).
textTheme
.
titleLarge
,
),
const
SizedBox
(
height:
16.0
),
Text
(
'Pulsa el botón + para agregarlos'
,
style:
Theme
.
of
(
context
).
textTheme
.
bodyLarge
,
)
],
),
const
SizedBox
(
height:
16
,),
Text
(
'Pulsa + para añadirlos'
,
style:
Theme
.
of
(
context
).
textTheme
.
bodyMedium
,
)
],
),
)
);
}
}
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