LokotroPayThemeConfig.dark constructor
LokotroPayThemeConfig.dark({})
Dark theme — kept for opt-in use, no longer the default.
Implementation
factory LokotroPayThemeConfig.dark({
Color? primaryColor,
Color? secondaryColor,
Color? tertiaryColor,
Color? backgroundColor,
double? borderRadius,
}) {
return LokotroPayThemeConfig(
theme: LokotroPayTheme.dark,
primaryColor: primaryColor,
secondaryColor: secondaryColor,
tertiaryColor: tertiaryColor,
backgroundColor: backgroundColor ?? const Color(0xFF0F172A),
surfaceColor: const Color(0xFF1E293B),
textColor: const Color(0xFFF8FAFC),
secondaryTextColor: const Color(0xFFCBD5E1),
borderColor: const Color(0xFF334155),
errorColor: LokotroPayColors.error,
successColor: LokotroPayColors.success,
borderRadius: borderRadius ?? 12.0,
inputPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 16),
);
}