GPagination constructor

const GPagination({
  1. Key? key,
  2. required int value,
  3. ValueChanged<int>? onChanged,
  4. int size = 10,
  5. required int total,
})

Implementation

const GPagination({
  Key? key,
  required this.value,
  this.onChanged,
  this.size = 10,
  required this.total,
})  : assert(value >= 1),
      super(key: key);