Commit 0a8ae634 authored by indika N kumara's avatar indika N kumara

Revert "Merge branch 'I_GUIDER_PHASE_02_NK' into 'master'"

This reverts merge request !15
parent 848195bd
......@@ -9,9 +9,7 @@ class HeartRateScreen extends StatelessWidget {
appBar: AppBar(
title: Text('Heart Rate Detector'),
),
body: Container(
color: Colors.white,
child: Column(
body: Column(
children: [
Padding(
padding: const EdgeInsets.all(8.0),
......@@ -21,29 +19,14 @@ class HeartRateScreen extends StatelessWidget {
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.fromLTRB(8,70,8,8),
child: SizedBox(
height: 70,
width: 350,
child: ElevatedButton(
style: ElevatedButton.styleFrom(
primary: Colors.red[300],
elevation: 15,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12)
)
),
ElevatedButton(
onPressed: () => Navigator.push(context, MaterialPageRoute(builder: (context) => HomePage(),)),
child: Text('Measure Heart Rate'),
),
),
),
],
),
],
),
),
);
}
}
......@@ -11,9 +11,7 @@ class invoker extends StatelessWidget {
appBar: AppBar(
title: Text('Face Mask Detector'),
),
body: Container(
color: Colors.white,
child: Column(
body: Column(
children: [
Padding(
padding: const EdgeInsets.all(8.0),
......@@ -23,29 +21,14 @@ class invoker extends StatelessWidget {
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.fromLTRB(8,70,8,8),
child: SizedBox(
height: 70,
width: 350,
child: ElevatedButton(
style: ElevatedButton.styleFrom(
primary: Colors.blue[300],
elevation: 15,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12)
)
),
ElevatedButton(
onPressed: () => invokeCamera(),
child: Text('Detect Mask'),
),
),
),
],
),
],
),
),
);
}
......
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