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

Crawling indicator for highlighting the selected list item

Create a crawl sticker indicator for your lists.

Getting started #

Install it via your favourite tool or:

dart pub add crawl_sticker

Usage #

final decoration = BoxDecoration(
  color: Colors.red,
);
Widget build(BuildContext context) {
  // Wrap [StickerWidget]s in [CrawlStickerSurface]
  // and change [StickerWidget.show] to crawl sticker on that surface like a worm.
  return CrawlStickerSurface(
    child: Column(
      children: [
        StickerWidget(
          decoration: decoration,
          show: false,
        ),
        StickerWidget(
          decoration: decoration,
          show: false,
        ),
        StickerWidget(
          decoration: decoration,
          show: true,
        ),
        StickerWidget(
          decoration: decoration,
          show: false,
        ),
        StickerWidget(
          decoration: decoration,
          show: false,
        ),
      ],
    ),
  );
}
0
likes
160
points
65
downloads

Documentation

API reference

Publisher

verified publisherinnerwilds.ru

Weekly Downloads

Crawling indicator for highlighting the selected list item

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on crawl_sticker