Does anyone create a table with TableRowInkWell?
I wanted a table with clickable row on the left and unclickable row on the right.
Are there any example for creating a nice table?
You can only use TableRowInkWell
inside the TableRow
or TableCell
for example:
Table(
border: TableBorder.all(),
children: [
TableRow(children: [
///Like this one*******
TableRowInkWell(
onTap: (){},
child: Column(children: [
Icon(
Icons.account_box,
size: iconSize,
),
Text('My Account'),
]),
),
Column(children: [
Icon(
Icons.settings,
size: iconSize,
),
Text('Settings')
]),
]),
],
)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With