integrate report and table view two sensors, use mock data for reports

This commit is contained in:
ashrafzarkanisala
2024-08-27 03:11:51 +03:00
parent 40deaff8a0
commit 7d700f47dd
9 changed files with 398 additions and 209 deletions

View File

@ -0,0 +1,23 @@
import 'package:flutter/material.dart';
class TableCellWidget extends StatelessWidget {
final String value;
final Function()? onTap;
const TableCellWidget({
super.key,
required this.value,
this.onTap,
});
@override
Widget build(BuildContext context) {
return GestureDetector(
onTap: onTap,
child: Padding(
padding: const EdgeInsets.all(8.0),
child: Text(value),
),
);
}
}