KillSwitchTheme.dark constructor

KillSwitchTheme.dark()

Creates a dark theme with default values

Implementation

factory KillSwitchTheme.dark() {
  return const KillSwitchTheme(
    backgroundColor: Color(0xFF1E1E1E),
    primaryColor: Color(0xFFE53E3E),
    titleTextColor: Colors.white,
    bodyTextColor: Color(0xFFB3B3B3),
    buttonBackgroundColor: Color(0xFFE53E3E),
    buttonTextColor: Colors.white,
    borderRadius: 16.0,
    buttonBorderRadius: 8.0,
    shadowColor: Color(0x66000000),
    shadowBlurRadius: 20.0,
    shadowSpreadRadius: 5.0,
    iconSize: 40.0,
    dialogPadding: EdgeInsets.all(24.0),
    useDarkTheme: true,
    borderColor: Color(0xFF404040),
    borderWidth: 1.0,
    linkColor: Color(0xFF64B5F6),
    inputBorderColor: Color(0xFF404040),
    inputBackgroundColor: Color(0xFF2A2A2A),
    inputTextColor: Colors.white,
    mediaBorderRadius: 8.0,
    imageMaxHeight: 200.0,
    imageMaxWidth: double.infinity,
    animationDuration: Duration(milliseconds: 300),
    entranceCurve: Curves.easeOutCubic,
    exitCurve: Curves.easeInCubic,
    enableAnimations: true,
    loadingAnimationDuration: Duration(milliseconds: 1500),
    enableParticleEffects: false,
    particleColor: Color(0xFF64B5F6),
    particleCount: 20,
    animationType: AnimationType.scale,
  );
}