angel3_paginate 8.1.0 copy "angel3_paginate: ^8.1.0" to clipboard
angel3_paginate: ^8.1.0 copied to clipboard

Platform-agnostic pagination library, with custom support for the Angel3 framework.

example/main.dart

import 'package:angel3_paginate/angel3_paginate.dart';

void main() {
  var iterable = [1, 2, 3, 4];
  var p = Paginator(iterable);

  // Get the current page (default: page 1)
  var page = p.current!;
  print(page.total);
  print(page.startIndex);
  print(page.data); // The actual items on this page.
  p.next(); // Advance a page
  p.back(); // Back one page
  p.goToPage(10); // Go to page number (1-based, not a 0-based index)
}
2
likes
140
pub points
0%
popularity

Publisher

verified publisherdukefirehawk.com

Platform-agnostic pagination library, with custom support for the Angel3 framework.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

angel3_framework

More

Packages that depend on angel3_paginate