OnboardingConfig.defaultConfig constructor

OnboardingConfig.defaultConfig()

Implementation

factory OnboardingConfig.defaultConfig() {
  return const OnboardingConfig(
    scaffoldBackgroundColor: Colors.white,
    titleStyle: TextStyle(
      fontSize: 24,
      fontWeight: FontWeight.bold,
      color: Colors.black,
    ),
    subtitleStyle: TextStyle(
      fontSize: 16,
      color: Colors.black54,
      height: 1.5,
    ),
    termsStyle: TextStyle(fontSize: 14, color: Colors.grey),
    buttonColor: Color(0xFFEF4444),
    buttonTextColor: Colors.white,
    buttonBorderRadius: 28.0,
    checkboxActiveColor: Colors.black,
    checkboxCheckColor: Colors.white,
    imageWidth: 500,
    imageHeight: 500,
    imageFit: BoxFit.contain,
    imageBorderRadius: 12,
    progressBarColor: Color(0xFFEF4444),
    progressBarBackgroundColor: Color(0xFFFFE5E5),
    progressBarIcon: Icons.hourglass_empty,
    progressTextStyle: TextStyle(
      fontSize: 14,
      color: Colors.black54,
      fontWeight: FontWeight.w500,
    ),
  );
}