listview_library 0.0.1 copy "listview_library: ^0.0.1" to clipboard
listview_library: ^0.0.1 copied to clipboard

A Flutter widget for ListView.

listview_library #

A Flutter widget for ListView.

Features #

  • Support headers for each group.
  • All fields from ListView.builder constructor available.

Getting Started #

Add the package to your pubspec.yaml:

listview_library: ^1.1.1

In your dart file, import the library:

import 'package:listview_library/listview_library.dart';

Instead of using a ListView create a GroupListView Widget:


 @override
 Widget build(BuildContext context) {
   return MaterialApp(
     title: 'My App',
     home: Scaffold(
       appBar: AppBar(
         title: const Text('My ListView'),
       ),
       body: MyListView(data: data),
     ),
   );
 }
}

Contributions #

Contributions of any kind are more than welcome! Feel free to fork and improve flutter_listview_library in any way you want, make a pull request, or open an issue.

0
likes
140
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter widget for ListView.

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on listview_library