A complete and flexible library for viewing data in tables or lists
- Display in tables on large screens and lists on smaller screens.
- Support for paging
- Search support
- Ordering support
- Custom data source support
Navigator.push(
context,
MaterialPageRoute(
builder: (_) => SelectAnyModule(SelectModel('Example', 'id', [
Line('a'),
Line(
'b',
enclosure: 'My value is: ???',
),
Line('c', enableSorting: false),
Line('d', tableTooltip: 'My Custom Tooltip'),
Line('e', name: 'My Custom Name')
], FontDataAny((data) async {
return List<Map<String, dynamic>>.generate(
100,
(index) => <String, dynamic>{
'id': index,
'a': 'A ${index}',
'b': 'B ${index}',
'c': 'C ${index}',
'd': 'D ${index}',
'e': 'E ${index}'
});
}), TypeSelect.SIMPLE,
theme: SelectModelTheme(
tableTheme:
SelectModelThemeTable(headerColor: Colors.blue))))));