MapPaginationController constructor

const MapPaginationController({
  1. Key? key,
  2. required int skip,
  3. required int take,
  4. required int count,
  5. required bool isLoading,
  6. required ValueChanged<int> onNextPressed,
  7. required ValueChanged<int> onPreviousPressed,
  8. Color controllerColor = const Color(0xFF007bff),
  9. Color backgroundColor = const Color(0xFFFFDA85),
  10. Color textColor = Colors.black,
  11. String noItemFoundTitle = "No items found",
})

Implementation

const MapPaginationController({
  Key? key,
  required this.skip,
  required this.take,
  required this.count,
  required this.isLoading,
  required this.onNextPressed,
  required this.onPreviousPressed,
  this.controllerColor = const Color(0xFF007bff),
  this.backgroundColor = const Color(0xFFFFDA85),
  this.textColor = Colors.black,
  this.noItemFoundTitle = "No items found",
}) : super(key: key);