From 1608c6706dd7ee44fa0a13bed42802a4cb806787 Mon Sep 17 00:00:00 2001 From: Trang Nguyen <thi_huyen_trang.nguyen@student.reutlingen-university.de> Date: Tue, 24 Nov 2020 19:02:14 +0100 Subject: [PATCH] KAT-50: Changed all files from Page.dart to page.dart and added separated directory for triage system --- rescueapp/lib/main.dart | 2 +- .../lib/{Ambulatory.dart => triage_step1/ambulatory.dart} | 4 ++-- .../triage_step2_1/spontaneous_breathing_present.dart} | 2 +- .../triage_step2_2/after_opening_airways.dart} | 4 ++-- rescueapp/pubspec.lock | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) rename rescueapp/lib/{Ambulatory.dart => triage_step1/ambulatory.dart} (96%) rename rescueapp/lib/{SpontaneousBreathingPresent.dart => triage_step2/triage_step2_1/spontaneous_breathing_present.dart} (98%) rename rescueapp/lib/{AfterOpeningAirways.dart => triage_step2/triage_step2_2/after_opening_airways.dart} (98%) diff --git a/rescueapp/lib/main.dart b/rescueapp/lib/main.dart index b7676ca..76fb1b7 100644 --- a/rescueapp/lib/main.dart +++ b/rescueapp/lib/main.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:rescueapp/Ambulatory.dart'; +import 'triage_step1/ambulatory.dart'; void main() { runApp(MyApp()); diff --git a/rescueapp/lib/Ambulatory.dart b/rescueapp/lib/triage_step1/ambulatory.dart similarity index 96% rename from rescueapp/lib/Ambulatory.dart rename to rescueapp/lib/triage_step1/ambulatory.dart index 6dba58d..ee7c7c7 100644 --- a/rescueapp/lib/Ambulatory.dart +++ b/rescueapp/lib/triage_step1/ambulatory.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:rescueapp/SpontaneousBreathingPresent.dart'; +import 'package:rescueapp/triage_step2/triage_step2_1/spontaneous_breathing_present.dart'; class Ambulatory extends StatefulWidget { Ambulatory({Key key, this.title}) : super(key: key); @@ -43,7 +43,7 @@ class _AmbulatoryState extends State<Ambulatory> { backgroundColor: Colors.white)), )), SizedBox( - height: 100, + height: 120, ), SizedBox( width: 200, diff --git a/rescueapp/lib/SpontaneousBreathingPresent.dart b/rescueapp/lib/triage_step2/triage_step2_1/spontaneous_breathing_present.dart similarity index 98% rename from rescueapp/lib/SpontaneousBreathingPresent.dart rename to rescueapp/lib/triage_step2/triage_step2_1/spontaneous_breathing_present.dart index 9122f27..1177dce 100644 --- a/rescueapp/lib/SpontaneousBreathingPresent.dart +++ b/rescueapp/lib/triage_step2/triage_step2_1/spontaneous_breathing_present.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:rescueapp/AfterOpeningAirways.dart'; +import 'package:rescueapp/triage_step2/triage_step2_2/after_opening_airways.dart'; class SpontaneousBreathingPresent extends StatefulWidget { SpontaneousBreathingPresent({Key key, this.title}) : super(key: key); diff --git a/rescueapp/lib/AfterOpeningAirways.dart b/rescueapp/lib/triage_step2/triage_step2_2/after_opening_airways.dart similarity index 98% rename from rescueapp/lib/AfterOpeningAirways.dart rename to rescueapp/lib/triage_step2/triage_step2_2/after_opening_airways.dart index e76207a..e3035fa 100644 --- a/rescueapp/lib/AfterOpeningAirways.dart +++ b/rescueapp/lib/triage_step2/triage_step2_2/after_opening_airways.dart @@ -25,7 +25,7 @@ class _AfterOpeningAirwaysState extends State<AfterOpeningAirways> { decoration: BoxDecoration(color: Colors.grey[500]), alignment: Alignment.center, child: Text('Ist der Patient gehfähig?', - style: TextStyle(fontSize: 22, color: Colors.blue[900])), + style: TextStyle(fontSize: 20, color: Colors.blue[900])), )), SizedBox( height: 40, @@ -61,7 +61,7 @@ class _AfterOpeningAirwaysState extends State<AfterOpeningAirways> { backgroundColor: Colors.grey[500])), )), SizedBox( - height: 100, + height: 110, ), SizedBox( height: 50, diff --git a/rescueapp/pubspec.lock b/rescueapp/pubspec.lock index a5a1eda..f628010 100644 --- a/rescueapp/pubspec.lock +++ b/rescueapp/pubspec.lock @@ -80,7 +80,7 @@ packages: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.4" + version: "1.3.0-nullsafety.3" path: dependency: transitive description: @@ -106,7 +106,7 @@ packages: name: stack_trace url: "https://pub.dartlang.org" source: hosted - version: "1.10.0-nullsafety.2" + version: "1.10.0-nullsafety.1" stream_channel: dependency: transitive description: @@ -150,4 +150,4 @@ packages: source: hosted version: "2.1.0-nullsafety.3" sdks: - dart: ">=2.10.0-110 <=2.11.0-213.1.beta" + dart: ">=2.10.0-110 <2.11.0" -- GitLab