The error occurs because Future<List<DataRow>> expects a future (an asynchronous value) rather than a direct list. To initialize it properly, you need to assign a future or use an asynchronous function to fetch or construct the data
Future<List<DataRow>>