BaiomySegmentedCircularNextButton constructor

const BaiomySegmentedCircularNextButton({
  1. Key? key,
  2. required int currentPage,
  3. required int totalPages,
  4. required VoidCallback onTap,
  5. Color? ringColor,
  6. Color? ringBackgroundColor,
  7. double ringStrokeWidth = 3.0,
  8. double ringGapAngle = 0.1,
  9. double buttonSize = 60.0,
  10. double innerButtonSize = 50.0,
  11. Color? buttonColor,
  12. Color? buttonShadowColor,
  13. IconData icon = Icons.arrow_forward,
  14. Color iconColor = Colors.white,
  15. double iconSize = 24.0,
  16. Duration animationDuration = const Duration(milliseconds: 400),
  17. 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,
});