|
|
|
@ -44,6 +44,10 @@ class VitalSignDetailsScreen extends StatelessWidget {
|
|
|
|
appBarTitle: TranslationBase.of(context).vitalSign,
|
|
|
|
appBarTitle: TranslationBase.of(context).vitalSign,
|
|
|
|
body: mode.patientVitalSignsHistory.length > 0
|
|
|
|
body: mode.patientVitalSignsHistory.length > 0
|
|
|
|
? Column(
|
|
|
|
? Column(
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
Expanded(
|
|
|
|
|
|
|
|
child: Container(
|
|
|
|
|
|
|
|
child: Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
@ -70,7 +74,7 @@ class VitalSignDetailsScreen extends StatelessWidget {
|
|
|
|
height: MediaQuery.of(context).size.height * 0.23,
|
|
|
|
height: MediaQuery.of(context).size.height * 0.23,
|
|
|
|
width: double.infinity,
|
|
|
|
width: double.infinity,
|
|
|
|
padding: EdgeInsets.all(12.0),
|
|
|
|
padding: EdgeInsets.all(12.0),
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 16.0),
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 16.0, vertical: 8.0),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
shape: BoxShape.rectangle,
|
|
|
|
shape: BoxShape.rectangle,
|
|
|
|
color: Colors.white,
|
|
|
|
color: Colors.white,
|
|
|
|
@ -274,13 +278,13 @@ class VitalSignDetailsScreen extends StatelessWidget {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Expanded(
|
|
|
|
Expanded(
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 8.0),
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 16.0, vertical: 4),
|
|
|
|
child: GridView.count(
|
|
|
|
child: GridView.count(
|
|
|
|
shrinkWrap: true,
|
|
|
|
shrinkWrap: true,
|
|
|
|
physics: NeverScrollableScrollPhysics(),
|
|
|
|
physics: NeverScrollableScrollPhysics(),
|
|
|
|
crossAxisSpacing: 4,
|
|
|
|
crossAxisSpacing: 6,
|
|
|
|
mainAxisSpacing: 4,
|
|
|
|
mainAxisSpacing: 6,
|
|
|
|
childAspectRatio: 1 / 1.0,
|
|
|
|
childAspectRatio: 1.0 / 1.0,
|
|
|
|
crossAxisCount: 3,
|
|
|
|
crossAxisCount: 3,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
InkWell(
|
|
|
|
InkWell(
|
|
|
|
@ -443,6 +447,10 @@ class VitalSignDetailsScreen extends StatelessWidget {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
)
|
|
|
|
)
|
|
|
|
: Center(
|
|
|
|
: Center(
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
|