Im using MS SQL and I want to read data and display it in a ListViewBuilder, but Im having some difficulties.
I dont know how to find itemCount (biggest problem)
I dont know how to display Data in ListTile
query - "SELECT * FROM TabelTest"
Below I will show a part of code and how I want to be shown in app:
// This is to get and display in terminal data from db
Future<void> read(String query) async {
var res = await SqlConn.readData(query);
debugPrint(res.toString());
}
Data that I need to put in ListTile

This is how I want to show data (Red underlines are main problem)
