I'm working on a FlutterFlow project where I need to implement a data table with a feature that allows users to select entire rows or individual rows. The rows in the data table are generated dynamically.
Here's what I'm trying to achieve:
Selectable Rows: Users should be able to click on a checkbox in the table header to select all rows (except the header), or they can individually select rows by clicking on a checkbox within each row.
Dynamic Row Generation: The number of rows in the table should be determined by data fetched from a backend or other source.
I've tried using FlutterFlow's built-in DataTable component, but I'm struggling to implement the desired functionality. I'm wondering if there's a more efficient way to approach this using custom widgets or other techniques.
Any guidance or code examples would be greatly appreciated!