import 'package:flutter/material.dart'; class ReportScreen extends StatelessWidget { final List> sampleData = [ {"Site": "River X", "Parameter": "BOD", "Value": "3.2 mg/L"}, {"Site": "River Y", "Parameter": "COD", "Value": "12.5 mg/L"}, ]; @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: Text("River Investigative Report")), body: Padding( padding: const EdgeInsets.all(24), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text("Investigative Study Report", style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold)), SizedBox(height: 16), DataTable( columns: [ DataColumn(label: Text("Site")), DataColumn(label: Text("Parameter")), DataColumn(label: Text("Value")), ], rows: sampleData.map((data) { return DataRow(cells: [ DataCell(Text(data["Site"]!)), DataCell(Text(data["Parameter"]!)), DataCell(Text(data["Value"]!)), ]); }).toList(), ), ], ), ), ); } }