diff --git a/rescueapp/lib/Ambulatory.dart b/rescueapp/lib/Ambulatory.dart new file mode 100644 index 0000000000000000000000000000000000000000..77a870538a21d53608899aa35ff53ce94dbf175e --- /dev/null +++ b/rescueapp/lib/Ambulatory.dart @@ -0,0 +1,95 @@ + +import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; +import 'package:rescueapp/AfterOpeningAirways.dart'; +import 'package:rescueapp/SpontaneousBreathingPresent.dart'; + +class Ambulatory extends StatefulWidget { + Ambulatory({Key key, this.title}) : super(key: key); + final String title; + + @override + _AmbulatoryState createState() => _AmbulatoryState(); +} +class _AmbulatoryState extends State<Ambulatory> { + + @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: 150,), + SizedBox( + height: 100, + 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), + bottom: BorderSide(color: Colors.red, width: 2), + ),), + child:Text('Ist der Patient gehfähig?', style: TextStyle(fontSize: 22, fontWeight: FontWeight.w700, color: Colors.blue[900], backgroundColor: Colors.white)), + )), + + SizedBox( + height: 100, + ), + SizedBox( + width: 200, + height: 50, + child: Container( + child:RaisedButton(child: new Text('Ja', + style: TextStyle(fontSize: 20,fontWeight: FontWeight.w600, + color: Colors.blue[900])), + color: Colors.blue, + onPressed: () { + }))), + SizedBox( + height:10, + ), + SizedBox( + width: 200, + height: 50, + child: Container( + child:RaisedButton(child: new Text('Nein', + style: TextStyle(fontSize: 20,fontWeight: FontWeight.w600, + color: Colors.blue[900])), color: Colors.blue, + onPressed: () { + Navigator.push( + context, + MaterialPageRoute( + builder: (context) => SpontaneousBreathingPresent()), + ); + }))), + SizedBox( + height:100, + ), + 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); + }))), + ], + ), + ), + ); + } +} + + +