From ac0aff18c9d2efc8ac6c6434db311c2b3461ebaf Mon Sep 17 00:00:00 2001
From: Halim Bahar <halim.bahar@student.reutlingen-university.de>
Date: Tue, 1 Dec 2020 17:31:00 +0100
Subject: [PATCH] KAT-55: Adding the import for the following page
 breathing_frequency_per_minute.dart and the activation of the button JA for
 the navigation to the next page.

---
 .../spontaneous_breathing_present.dart                   | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/rescueapp/lib/start_triage_system/spontaneous_breathing_present.dart b/rescueapp/lib/start_triage_system/spontaneous_breathing_present.dart
index 5151e51..75b3fe8 100644
--- a/rescueapp/lib/start_triage_system/spontaneous_breathing_present.dart
+++ b/rescueapp/lib/start_triage_system/spontaneous_breathing_present.dart
@@ -1,5 +1,6 @@
 import 'package:flutter/material.dart';
 import 'after_opening_airways.dart';
+import 'breathing_frequency_per_minute.dart';
 
 class SpontaneousBreathingPresent extends StatefulWidget {
   SpontaneousBreathingPresent({Key key, this.title}) : super(key: key);
@@ -94,7 +95,13 @@ class _SpontaneousBreathingPresentState
                                 fontWeight: FontWeight.w600,
                                 color: Colors.blue[900])),
                         color: Colors.blue,
-                        onPressed: null ))),
+                        onPressed: () {
+                          Navigator.push(
+                            context,
+                            MaterialPageRoute(
+                                builder: (context) => BreathingFrequencyPerMinute()),
+                          );
+                        } ))),
             SizedBox(
               height: 10,
             ),
-- 
GitLab