marine 0.5.2 copy "marine: ^0.5.2" to clipboard
marine: ^0.5.2 copied to clipboard

Marine widgets, animated grid view with pagination.

Example

This is an animated grid view with pagination. Implemented by SliverGrid. If you need an animated list view please check in flutter.
Or if you need an animated list view with pagination you can easily give your grid item a large with to make it a list.

Flutter doesn't have an animated GridView, when you add or remove an element from a grid, it is hard to know where you added or removed.

Features #

  1. Animated sliver Grid view.
  2. Pagination, scroll down to fetch new page.
  3. Easy to pop a widget from inside a grid or return it back.

Usage #

    GridController gridController = GridController(pageFetcher: fetchList);
    ...
    PagedGrid(
        maxCrossAxisExtent: 200,
        childAspectRatio: 1.8,
        gridController: gridController,
        itemBuilder: (ctxt, item, index) {
          Widget row = itemView(index: index, data: item);
          return row;
        });
    TextDivider(child: const Text('Divider'))
1
likes
100
pub points
0%
popularity

Publisher

verified publishermarinethinking.ai

Marine widgets, animated grid view with pagination.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on marine