diff --git a/rescueapp/lib/start_triage_system/Circulation.dart b/rescueapp/lib/start_triage_system/Circulation.dart new file mode 100644 index 0000000000000000000000000000000000000000..8b9658a69376db2a73cefaff839c8c67b567413f --- /dev/null +++ b/rescueapp/lib/start_triage_system/Circulation.dart @@ -0,0 +1,170 @@ +import 'package:flutter/material.dart'; + +class CapillaryFillingTime extends StatefulWidget { + CapillaryFillingTime({Key key, this.title}) : super(key: key); + final String title; + @override + _CapillaryFillingTimeState createState() => _CapillaryFillingTimeState(); +} + +class _CapillaryFillingTimeState extends State<CapillaryFillingTime> { + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar( + title: Text('KatApp'), + ), + body: Padding( + padding: EdgeInsets.symmetric(horizontal: 40, vertical: 10), + child: Column( + children: <Widget>[ + SizedBox( + height: 40, + child: Container( + decoration: BoxDecoration(color: Colors.grey[500]), + alignment: Alignment.center, + child: Text('Ist der Patient gehfähig?', + style: TextStyle(fontSize: 20, color: Colors.blue[900])), + )), + SizedBox( + height: 40, + child: Container( + decoration: BoxDecoration(color: Colors.grey[500]), + alignment: Alignment.center, + child: Text('Nein', + style: TextStyle( + fontSize: 20, + color: Colors.blue[900], + backgroundColor: Colors.grey[500])), + )), + SizedBox( + height: 40, + child: Container( + decoration: BoxDecoration(color: Colors.grey[500]), + alignment: Alignment.center, + child: Text('Spontanatmung vorhanden?', + style: TextStyle(fontSize: 20, color: Colors.blue[900])), + )), + SizedBox( + height: 40, + child: Container( + decoration: BoxDecoration(color: Colors.grey[500]), + alignment: Alignment.center, + child: Text('Ja', + style: TextStyle( + fontSize: 20, + color: Colors.blue[900], + backgroundColor: Colors.grey[500])), + )), + SizedBox( + height: 40, + child: Container( + decoration: BoxDecoration(color: Colors.grey[500]), + alignment: Alignment.center, + child: Text('Atemfrequenz pro Minute:', + style: TextStyle(fontSize: 20, color: Colors.blue[900])), + )), + SizedBox( + height: 40, + child: Container( + decoration: BoxDecoration(color: Colors.grey[500]), + alignment: Alignment.center, + child: Text('≤ 30', + style: TextStyle( + fontSize: 20, + color: Colors.blue[900], + backgroundColor: Colors.grey[500])), + )), + SizedBox( + height: 150, + ), + SizedBox( + height: 50, + child: Container( + alignment: Alignment.center, + decoration: BoxDecoration( + border: Border( + left: BorderSide(color: Colors.red, width: 2), + right: BorderSide(color: Colors.red, width: 2), + top: BorderSide(color: Colors.red, width: 2), + ), + ), + child: Text('Kategorie C', + style: TextStyle( + fontSize: 22, + fontWeight: FontWeight.w700, + color: Colors.blue[900], + backgroundColor: Colors.white)), + )), + SizedBox( + height: 50, + width: 500, + child: Container( + alignment: Alignment.center, + decoration: BoxDecoration( + border: Border( + left: BorderSide(color: Colors.red, width: 2), + right: BorderSide(color: Colors.red, width: 2), + bottom: BorderSide(color: Colors.red, width: 2), + ), + ), + child: Text('Kapilläre Füllungszeit:', + style: TextStyle( + fontSize: 22, + fontWeight: FontWeight.w700, + color: Colors.blue[900], + backgroundColor: Colors.white)), + )), + SizedBox( + height: 70, + ), + SizedBox( + width: 200, + height: 50, + child: Container( + child: RaisedButton( + child: new Text('> 2s', + style: TextStyle( + fontSize: 20, + fontWeight: FontWeight.w600, + color: Colors.blue[900])), + color: Colors.blue, + onPressed: null))), + SizedBox( + height: 10, + ), + SizedBox( + width: 200, + height: 50, + child: Container( + child: RaisedButton( + child: new Text('≤ 2s', + style: TextStyle( + fontSize: 20, + fontWeight: FontWeight.w600, + color: Colors.blue[900])), + color: Colors.blue, + onPressed: null))), + SizedBox( + height: 70, + ), + SizedBox( + width: 200, + height: 50, + child: Container( + child: RaisedButton( + child: new Text('Zurück', + style: TextStyle( + fontSize: 20, + fontWeight: FontWeight.w600, + color: Colors.white)), + color: Colors.blue[900], + onPressed: () { + Navigator.pop(context); + }))), + ], + ), + ), + ); + } +}