Flutter – How can I make the iconbutton contained in the datacell display different icons according to the state?
I used a PaginatedDataTable to include several iconbuttons in the Datacell. After clicking the iconbutton, I modified the value of rows[index]['status']. I want the iconbutton's icon to be displayed according to the value of rows[index]['status']. import 'package:flutter/material.dart'; List<Map<String, dynamic>> devData()…