From a3d5fb6443a2b942b20b5e703d3e729a42f4f75d Mon Sep 17 00:00:00 2001 From: DNZ <dnz@Dnz-3.local> Date: Wed, 2 Dec 2020 11:19:12 +0100 Subject: [PATCH] KAT-58: Adding the import for the following page Circulation.dart and the activation of the button <= 30 to navigate to to it. --- .../breathing_frequency_per_minute.dart | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/rescueapp/lib/start_triage_system/breathing_frequency_per_minute.dart b/rescueapp/lib/start_triage_system/breathing_frequency_per_minute.dart index 4a3746d..436568d 100644 --- a/rescueapp/lib/start_triage_system/breathing_frequency_per_minute.dart +++ b/rescueapp/lib/start_triage_system/breathing_frequency_per_minute.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'Circulation.dart'; class BreathingFrequencyPerMinute extends StatefulWidget { BreathingFrequencyPerMinute({Key key, this.title}) : super(key: key); @@ -112,7 +113,7 @@ class _BreathingFrequencyPerMinuteState fontWeight: FontWeight.w600, color: Colors.blue[900])), color: Colors.blue, - onPressed: null ))), + onPressed: null))), SizedBox( height: 10, ), @@ -127,7 +128,13 @@ class _BreathingFrequencyPerMinuteState fontWeight: FontWeight.w600, color: Colors.blue[900])), color: Colors.blue, - onPressed: null ))), + onPressed: () { + Navigator.push( + context, + MaterialPageRoute( + builder: (context) => CapillaryFillingTime()), + ); + }))), SizedBox( height: 70, ), -- GitLab