sliver_list_separator 1.0.0 copy "sliver_list_separator: ^1.0.0" to clipboard
sliver_list_separator: ^1.0.0 copied to clipboard

This is a custom widget.

sliver_list_separator #

pub package

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.0
  ...

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

Create or use a list of items to display

final items = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"];

Create the widget

SliverListSeparator(
  builder: (context, index) {
    return ListTile(title: Text(items[index]));
  },
  separator: const Divider(),
  childCount: items.length
)
1
likes
0
pub points
43%
popularity

Publisher

unverified uploader

This is a custom widget.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on sliver_list_separator