mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-27 04:34:54 +00:00
initialized Routine Page
This commit is contained in:
39
lib/features/dashboard/view/widgets/live_monitor_tab.dart
Normal file
39
lib/features/dashboard/view/widgets/live_monitor_tab.dart
Normal file
@ -0,0 +1,39 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:syncrow_app/features/dashboard/view/widgets/live_monitor_widget.dart';
|
||||
import 'package:syncrow_app/utils/resource_manager/assets_manager.dart';
|
||||
import 'package:syncrow_app/utils/resource_manager/strings_manager.dart';
|
||||
|
||||
class LiveMonitorTab extends StatelessWidget {
|
||||
const LiveMonitorTab({
|
||||
super.key,
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return const Row(
|
||||
children: [
|
||||
Expanded(
|
||||
child: LiveMonitorWidget(
|
||||
image: IconsManager.active,
|
||||
title: StringsManager.active,
|
||||
value: '10.00w',
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
child: LiveMonitorWidget(
|
||||
image: IconsManager.voltMeter,
|
||||
title: StringsManager.current,
|
||||
value: '12.1 A',
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
child: LiveMonitorWidget(
|
||||
image: IconsManager.frequency,
|
||||
title: StringsManager.frequency,
|
||||
value: '50 Hz',
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user