// lib/screens/river/manual/river_manual_report.dart

import 'package:flutter/material.dart';

class RiverManualReport extends StatelessWidget {
  final List<Map<String, String>> sampleData = [
    {"Station": "River Site A", "Parameter": "DO", "Value": "6.8"},
    {"Station": "River Site B", "Parameter": "pH", "Value": "7.1"},
  ];

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text("River Manual Report")),
      body: Padding(
        padding: const EdgeInsets.all(24),
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            Text("Manual Sampling Report", style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold)),
            SizedBox(height: 16),
            DataTable(
              columns: [
                DataColumn(label: Text("Station")),
                DataColumn(label: Text("Parameter")),
                DataColumn(label: Text("Value")),
              ],
              rows: sampleData.map((data) {
                return DataRow(cells: [
                  DataCell(Text(data["Station"]!)),
                  DataCell(Text(data["Parameter"]!)),
                  DataCell(Text(data["Value"]!)),
                ]);
              }).toList(),
            ),
          ],
        ),
      ),
    );
  }
}