GlassPageControl constructor
const
GlassPageControl({
- required int count,
- required int currentPage,
- Key? key,
- ValueChanged<
int> ? onPageChanged, - double dotSize = 7.0,
- double spacing = 7.0,
- Color? activeColor,
- Color? inactiveColor,
- Widget? leadingIcon,
- LiquidGlassSettings? settings,
- GlassQuality? quality,
- bool useOwnLayer = false,
- double height = 56,
- Duration animationDuration = const Duration(milliseconds: 250),
- Curve animationCurve = Curves.easeOutCubic,
Creates a glass page control.
Implementation
const GlassPageControl({
required this.count,
required this.currentPage,
super.key,
this.onPageChanged,
this.dotSize = 7.0,
this.spacing = 7.0,
this.activeColor,
this.inactiveColor,
this.leadingIcon,
this.settings,
this.quality,
this.useOwnLayer = false,
this.height = 56,
this.animationDuration = const Duration(milliseconds: 250),
this.animationCurve = Curves.easeOutCubic,
});