5 次代码提交

作者 SHA1 备注 提交日期
  Oniel Mendez c92790fd1e sprint3 merge 4 年前
  Oniel Mendez 5bf382109a se cambio el nombre del folder del app 4 年前
  Oniel Mendez 7e0041fc33 se cambio el background de las paginas de oniel a un azulito 4 年前
  Oniel Mendez f472fdb4b4 Update home.dart 4 年前
  Oniel Mendez 78f01f2778 update a colores y se movio el boton de calendario a donde va 4 年前

+ 4
- 2
fast_med_app/lib/routes/home.dart 查看文件

@@ -13,7 +13,9 @@ class _HomeState extends State<Home>{
13 13
   @override
14 14
   Widget build(BuildContext context){
15 15
     return Scaffold(
16
+      backgroundColor: Colors.blue[50],
16 17
       appBar: AppBar(
18
+        backgroundColor: Colors.red[300],
17 19
         title: Text('Bienvenido'),
18 20
         centerTitle: true,
19 21
       ),
@@ -23,9 +25,9 @@ class _HomeState extends State<Home>{
23 25
           children: [
24 26
             newButton(context,'/verOficinas','Ver Oficinas'),
25 27
             spaceBetween(),
26
-            newButton(context,'/especialidades','especialidades'),
28
+            newButton(context,'/especialidades','Buscar \nespecialidades'),
27 29
             spaceBetween(),
28
-            newButton(context,'/translation','translation'),
30
+            newButton(context,'/translation','Translation Demo'),
29 31
             spaceBetween(),
30 32
             ],
31 33
         ),

+ 1
- 1
fast_med_app/lib/routes/navigation.dart 查看文件

@@ -72,7 +72,7 @@ class _NavigationPageState extends State<NavigationPage>{
72 72
           BottomNavigationBarItem(icon: Icon(Icons.person_rounded),
73 73
               label: 'Profile'),
74 74
           BottomNavigationBarItem(icon: Icon(Icons.event_note_rounded),
75
-              label: 'Appointments')
75
+              label: 'Ver Mas')
76 76
         ],
77 77
 
78 78
       ),

+ 2
- 0
fast_med_app/lib/routes/ver_oficina.dart 查看文件

@@ -156,8 +156,10 @@ class _VerOficinaState extends State<VerOficina>{
156 156
     var especialistas = getEspecialistas(especialista);
157 157
 
158 158
     return Scaffold(
159
+      backgroundColor: Colors.blue[50],
159 160
       appBar: AppBar(
160 161
         title: Text(name),
162
+        backgroundColor: Colors.red[300],
161 163
         centerTitle: true,
162 164
       ),
163 165
       body: Center(

+ 4
- 2
fast_med_app/lib/routes/ver_oficinas.dart 查看文件

@@ -52,18 +52,20 @@ class _VerOficinasState extends State<VerOficinas>{
52 52
     });
53 53
     List<Oficina> lista =  _oficinas;
54 54
     return Scaffold(
55
+      backgroundColor: Colors.blue[50],
55 56
       key: _scaffoldKey,
56 57
       appBar: AppBar(
57 58
         title: Text('Oficinas'),
58 59
         centerTitle: true,
59
-        backgroundColor: Colors.purple,
60
+        backgroundColor: Colors.red[300],
60 61
 
61 62
       ),
62 63
       body: ListView.builder(
63 64
         itemCount: lista.length,
64 65
         itemBuilder: (context, index){
65 66
           return Card(
66
-          child: ListTile(
67
+              color: Colors.red[300],
68
+              child: ListTile(
67 69
             onTap: () {
68 70
               Navigator.pushNamed(context, "/ver/oficina", arguments:{
69 71
                 'id' : lista[index].id,

+ 3
- 3
fast_med_app/lib/widgets/functions.dart 查看文件

@@ -10,7 +10,7 @@ FlatButton newButton(context,route,text){
10 10
     child: Text(text,
11 11
       style: TextStyle(fontSize: 36),
12 12
     ),
13
-    color: Colors.purple,
13
+    color: Colors.red[300],
14 14
     //shape: new RoundedRectangleBorder(borderRadius: new BorderRadius.circular(50)),
15 15
     padding: EdgeInsets.all(25),
16 16
   );
@@ -26,7 +26,7 @@ FlatButton verOficinaButton(context,name){
26 26
           print(name);
27 27
         },
28 28
         padding: new EdgeInsets.all(0.0),
29
-        color: Colors.purple,
29
+        color: Colors.red[300],
30 30
 
31 31
       );
32 32
 }
@@ -44,7 +44,7 @@ List newButton2(context,route,text){
44 44
           child: Text(text,
45 45
             style: TextStyle(fontSize: 36),
46 46
           ),
47
-          color: Colors.purple,
47
+          color: Colors.red[300],
48 48
           //shape: new RoundedRectangleBorder(borderRadius: new BorderRadius.circular(50)),
49 49
           padding: EdgeInsets.all(25),
50 50
         )