KillSwitchTheme.light constructor

KillSwitchTheme.light()

Creates a light theme with default values

Implementation

factory KillSwitchTheme.light() {
  return const KillSwitchTheme(
    backgroundColor: Colors.white,
    primaryColor: Colors.red,
    titleTextColor: Colors.black,
    bodyTextColor: Color(0xFF424242),
    buttonBackgroundColor: Colors.red,
    buttonTextColor: Colors.white,
    borderRadius: 16.0,
    buttonBorderRadius: 8.0,
    shadowColor: Color(0x4D000000),
    shadowBlurRadius: 20.0,
    shadowSpreadRadius: 5.0,
    iconSize: 40.0,
    dialogPadding: EdgeInsets.all(24.0),
    useDarkTheme: false,
    linkColor: Colors.blue,
    inputBorderColor: Color(0xFFE0E0E0),
    inputBackgroundColor: Colors.white,
    inputTextColor: Colors.black,
    mediaBorderRadius: 8.0,
    imageMaxHeight: 200.0,
    imageMaxWidth: double.infinity,
    borderWidth: 0.0,
    animationDuration: Duration(milliseconds: 300),
    entranceCurve: Curves.easeOutCubic,
    exitCurve: Curves.easeInCubic,
    enableAnimations: true,
    loadingAnimationDuration: Duration(milliseconds: 1500),
    enableParticleEffects: false,
    particleColor: Colors.blue,
    particleCount: 20,
    animationType: AnimationType.scale,
  );
}