Commit 08235925 authored by GayaniPKarunaratne's avatar GayaniPKarunaratne

Modification in Addlocation dart file

parent 8f94e6aa
...@@ -246,12 +246,10 @@ Widget _buildDate(){ ...@@ -246,12 +246,10 @@ Widget _buildDate(){
Text('This is a Risk Location',style: TextStyle(fontSize: 20, color: Colors.red[900]),), Text('This is a Risk Location',style: TextStyle(fontSize: 20, color: Colors.red[900]),),
RaisedButton( RaisedButton(
color: Colors.green, color: Colors.green,
child: Center( child: Text(
child: Text( 'Check Risk Level',textAlign: TextAlign.center,
'Check Risk Level', style: TextStyle(color: Colors.white, fontSize: 20),
style: TextStyle(color: Colors.white, fontSize: 20), ),
),
),
onPressed: () { onPressed: () {
if(!_formKey.currentState.validate()) { if(!_formKey.currentState.validate()) {
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment