GlassPageIndicator constructor

const GlassPageIndicator({
  1. Key? key,
  2. required int count,
  3. required double page,
  4. ValueChanged<int>? onTap,
  5. Color? color,
  6. String? semanticLabel,
})

Creates a page indicator; count must be positive.

Implementation

const GlassPageIndicator({
  super.key,
  required this.count,
  required this.page,
  this.onTap,
  this.color,
  this.semanticLabel,
}) : assert(count > 0);