select_any 1.0.1 copy "select_any: ^1.0.1" to clipboard
select_any: ^1.0.1 copied to clipboard

A flexible library for listing data in lists/tables

select_any #

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

Screenshots #

Large Screens #

Small Screens #

Example Usage #

 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))))));