BaiomySegmentedCircularNextButton constructor
const
BaiomySegmentedCircularNextButton({
- Key? key,
- required int currentPage,
- required int totalPages,
- required VoidCallback onTap,
- Color? ringColor,
- Color? ringBackgroundColor,
- double ringStrokeWidth = 3.0,
- double ringGapAngle = 0.1,
- double buttonSize = 60.0,
- double innerButtonSize = 50.0,
- Color? buttonColor,
- Color? buttonShadowColor,
- IconData icon = Icons.arrow_forward,
- Color iconColor = Colors.white,
- double iconSize = 24.0,
- Duration animationDuration = const Duration(milliseconds: 400),
- Curve animationCurve = Curves.easeInOut,
Implementation
const BaiomySegmentedCircularNextButton({
super.key,
required this.currentPage,
required this.totalPages,
required this.onTap,
// --- Ring appearance ---
this.ringColor,
this.ringBackgroundColor,
this.ringStrokeWidth = 3.0,
this.ringGapAngle = 0.1,
// --- Button appearance ---
this.buttonSize = 60.0,
this.innerButtonSize = 50.0,
this.buttonColor,
this.buttonShadowColor,
this.icon = Icons.arrow_forward,
this.iconColor = Colors.white,
this.iconSize = 24.0,
// --- Animation ---
this.animationDuration = const Duration(milliseconds: 400),
this.animationCurve = Curves.easeInOut,
});