I am using Flutter DataTables to display list of items in cart. Now I want to edit the quantity of any selected row. Is there a way to get the information of the row user ha
you can use onSelectChanged property from DataRow.
rows: items .map( (itemRow) => DataRow( onSelectChanged: (bool selected) { if (selected) { log.add('row-selected: ${itemRow.index}'); } }, cells: [ // .. ], ),