GFIntroScreenBottomNavigationBar constructor

const GFIntroScreenBottomNavigationBar({
  1. Key? key,
  2. required PageController pageController,
  3. required int currentIndex,
  4. required int pageCount,
  5. Widget? child,
  6. Color navigationBarColor = GFColors.SUCCESS,
  7. double navigationBarHeight = 50,
  8. ShapeBorder? navigationBarShape,
  9. double? navigationBarWidth,
  10. EdgeInsets navigationBarPadding = const EdgeInsets.all(8),
  11. EdgeInsets navigationBarMargin = const EdgeInsets.all(8),
  12. bool showDivider = true,
  13. Color dividerColor = Colors.white,
  14. double dividerHeight = 1,
  15. double dividerThickness = 2,
  16. ShapeBorder? dotShape,
  17. Color inactiveColor = GFColors.DANGER,
  18. Color activeColor = GFColors.PRIMARY,
  19. double dotHeight = 12,
  20. double dotWidth = 12,
  21. EdgeInsets dotMargin = const EdgeInsets.symmetric(horizontal: 2),
  22. Widget? backButton,
  23. Widget? forwardButton,
  24. Widget? doneButton,
  25. Widget? skipButton,
  26. VoidCallback? onDoneTap,
  27. VoidCallback? onForwardButtonTap,
  28. VoidCallback? onBackButtonTap,
  29. VoidCallback? onSkipTap,
  30. String forwardButtonText = 'NEXT',
  31. String backButtonText = 'BACK',
  32. String doneButtonText = 'GO',
  33. String skipButtonText = 'SKIP',
  34. TextStyle skipButtonTextStyle = const TextStyle(color: Colors.black, fontSize: 16),
  35. TextStyle doneButtonTextStyle = const TextStyle(color: Colors.black, fontSize: 16),
  36. TextStyle backButtonTextStyle = const TextStyle(color: Colors.black, fontSize: 16),
  37. TextStyle forwardButtonTextStyle = const TextStyle(color: Colors.black, fontSize: 16),
  38. bool showButton = true,
  39. bool showPagination = true,
})

Implementation

const GFIntroScreenBottomNavigationBar({
  Key? key,
  required this.pageController,
  required this.currentIndex,
  required this.pageCount,
  this.child,
  this.navigationBarColor = GFColors.SUCCESS,
  this.navigationBarHeight = 50,
  this.navigationBarShape,
  this.navigationBarWidth,
  this.navigationBarPadding = const EdgeInsets.all(8),
  this.navigationBarMargin = const EdgeInsets.all(8),
  this.showDivider = true,
  this.dividerColor = Colors.white,
  this.dividerHeight = 1,
  this.dividerThickness = 2,
  this.dotShape,
  this.inactiveColor = GFColors.DANGER,
  this.activeColor = GFColors.PRIMARY,
  this.dotHeight = 12,
  this.dotWidth = 12,
  this.dotMargin = const EdgeInsets.symmetric(horizontal: 2),
  this.backButton,
  this.forwardButton,
  this.doneButton,
  this.skipButton,
  this.onDoneTap,
  this.onForwardButtonTap,
  this.onBackButtonTap,
  this.onSkipTap,
  this.forwardButtonText = 'NEXT',
  this.backButtonText = 'BACK',
  this.doneButtonText = 'GO',
  this.skipButtonText = 'SKIP',
  this.skipButtonTextStyle = const TextStyle(
    color: Colors.black,
    fontSize: 16,
  ),
  this.doneButtonTextStyle = const TextStyle(
    color: Colors.black,
    fontSize: 16,
  ),
  this.backButtonTextStyle = const TextStyle(
    color: Colors.black,
    fontSize: 16,
  ),
  this.forwardButtonTextStyle = const TextStyle(
    color: Colors.black,
    fontSize: 16,
  ),
  this.showButton = true,
  this.showPagination = true,
}) : super(key: key);