|
|
|
@ -31,7 +31,13 @@ class BloodSugarWeeklyPage extends StatelessWidget {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
ProjectViewModel projectViewModel = Provider.of(context);
|
|
|
|
ProjectViewModel projectViewModel = Provider.of(context);
|
|
|
|
return AppScaffold(
|
|
|
|
return AppScaffold(
|
|
|
|
body:timeSeriesData.isEmpty?Container(child: Center(child: Texts(TranslationBase.of(context).noDataAvailable),),): ListView(
|
|
|
|
body: timeSeriesData.isEmpty
|
|
|
|
|
|
|
|
? Container(
|
|
|
|
|
|
|
|
child: Center(
|
|
|
|
|
|
|
|
child: Texts(TranslationBase.of(context).noDataAvailable),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
: ListView(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
margin: EdgeInsets.only(top: 12, left: 8, right: 8),
|
|
|
|
margin: EdgeInsets.only(top: 12, left: 8, right: 8),
|
|
|
|
@ -59,8 +65,7 @@ class BloodSugarWeeklyPage extends StatelessWidget {
|
|
|
|
border: TableBorder.symmetric(
|
|
|
|
border: TableBorder.symmetric(
|
|
|
|
inside: BorderSide(width: 2.0, color: Colors.grey[300]),
|
|
|
|
inside: BorderSide(width: 2.0, color: Colors.grey[300]),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
children:
|
|
|
|
children: fullData(context, projectViewModel, bloodSugarViewMode),
|
|
|
|
fullData(context, projectViewModel, bloodSugarViewMode),
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|