mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-11-26 19:54:55 +00:00
integrate report and table view two sensors, use mock data for reports
This commit is contained in:
21
lib/pages/device_managment/shared/table/table_header.dart
Normal file
21
lib/pages/device_managment/shared/table/table_header.dart
Normal file
@ -0,0 +1,21 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class TableHeader extends StatelessWidget {
|
||||
final String title;
|
||||
|
||||
const TableHeader({
|
||||
super.key,
|
||||
required this.title,
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: Text(
|
||||
title,
|
||||
style: const TextStyle(fontWeight: FontWeight.bold),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user