summaryrefslogtreecommitdiffstats
path: root/lib/page_dashboard.dart
diff options
context:
space:
mode:
Diffstat (limited to 'lib/page_dashboard.dart')
-rw-r--r--lib/page_dashboard.dart26
1 files changed, 22 insertions, 4 deletions
diff --git a/lib/page_dashboard.dart b/lib/page_dashboard.dart
index bce7590..2ab1d38 100644
--- a/lib/page_dashboard.dart
+++ b/lib/page_dashboard.dart
@@ -58,10 +58,7 @@ class DashboardPage extends StatelessWidget {
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
- Text(
- 'RPM',
- style: Theme.of(context).textTheme.headline4,
- ),
+ _RPMWidget(),
Text(
'Fuel',
style: Theme.of(context).textTheme.headline4,
@@ -73,3 +70,24 @@ class DashboardPage extends StatelessWidget {
);
}
}
+
+// ignore: unused_element
+class _RPMWidget extends StatelessWidget {
+ @override
+ Widget build(BuildContext context) {
+ return Row(
+ mainAxisAlignment: MainAxisAlignment.start,
+ children: [
+ Icon(Icons.fastfood),
+ Container(
+ height: 20,
+ width: 70,
+ child: LinearProgressIndicator(
+ value: 0.75,
+ semanticsLabel: 'Linear progress indicator',
+ ),
+ ),
+ ],
+ );
+ }
+}