json_table
json_table copied to clipboard
title bar and cell border slipped when use with other unicode language
final response = await http.get("http://www.jupiter.co.th/test/json1.txt");
like this can I fix it by change Alignment or padding of tableCellBuilder ?
Yes i think in this case you need to provide table cell builder and adjust its height/padding as per required
I have this issue with Arabic characters, please instruct me in how I can solve this, meaning making all the columns the same height or getting rid of the extra padding that seems to come Arabic characters
Yes i think in this case you need to provide table cell builder and adjust its height/padding as per required
thank you, but this problem still persists I think ( from my rookie experience), the row height of cells in same row would be equal if use the row widget but I'm too new to fix
thank you
@singnoi Do one thing use table cell builder and use a container of fixed height lets say 70 or 100 . In this way each row cell would be of fixed height and using other language wont affect it
@singnoi
tableCellBuilder: (value) {
return Container(
height: 100,
padding: EdgeInsets.symmetric(horizontal: 4.0, vertical: 2.0),
decoration: BoxDecoration(border: Border.all(width: 0.5, color: Colors.grey.withOpacity(0.5))),
child: Text(
value,
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.display1.copyWith(fontSize: 14.0, color: Colors.grey[900]),
),
);
}