Display step data in a list view
PatHock opened this issue · comments
PatHock commented
End goal
- Create a list view for daily step count totals
Relevant Info/Links
This could be achieved using a ListTile view.
https://docs.flutter.io/flutter/material/ListTile-class.html
Your Code
An example of a ListTile object (which would represent step totals for one day). Taken from the flutter docs link above.
new ListTile(
leading: const Icon(Icons.flight_land),
title: const Text('Trix\'s airplane'),
subtitle: _act != 2 ? const Text('The airplane is only in Act II.') : null,
enabled: _act == 2,
onTap: () { /* react to the tile being tapped */ }
)