sliver_list_separator

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

sliver list separator

sliver_list_separator #

A Flutter widget which creates a Sliver List with custom separator.

Getting Started #
Installing #
In your Flutter project, add the package to your dependencies
flutter pub add sliver_list_separator
or
dependencies:
...
sliver_list_separator: ^1.0.3
...
copied to clipboard
Usage Example #
A complete example on how to use this widget can be found in
the example directory
. But the basics are:
Import the package #
import 'package:sliver_list_separator/sliver_list_separator.dart';
copied to clipboard
Create or use a list of items to display #
final items = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"];
copied to clipboard
Create the widget #
SliverListSeparator(
builder: (context, index) {
return ListTile(title: Text(items[index]));
},
separator: const Divider(),
childCount: items.length
)
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.