-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
In the flutter_tableview 1.0.1 docs in the How to use section:
The _sectionHeaderBuilder and the _cellBuilder both use Inkwell which needs to be wrapped in Material for it to work properly. Something like:
// Section header widget builder.
Widget _sectionHeaderBuilder(BuildContext context, int section) {
return Material(
child: InkWell(
onTap: () {
print('click section header. -> section:$section');
},
child: Container(
alignment: Alignment.centerLeft,
padding: EdgeInsets.only(left: 16.0),
color: Color.fromRGBO(220, 220, 220, 1),
height: 100,
child: Text('I am section header -> section:$section'),
),
));
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels