MapPaginationController constructor
const
MapPaginationController({
- Key? key,
- required int skip,
- required int take,
- required int count,
- required bool isLoading,
- required ValueChanged<
int> onNextPressed, - required ValueChanged<
int> onPreviousPressed, - Color controllerColor = const Color(0xFF007bff),
- Color backgroundColor = const Color(0xFFFFDA85),
- Color textColor = Colors.black,
- 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);