SplashTheme.custom constructor
SplashTheme.custom({})
Creates a custom theme with your own color palette.
Implementation
factory SplashTheme.custom({
required Color backgroundColor,
required Color loaderColor,
required Color textColor,
Color? retryButtonColor,
Color? retryButtonTextColor,
}) =>
SplashTheme(
backgroundColor: backgroundColor,
loaderColor: loaderColor,
textColor: textColor,
retryButtonColor: retryButtonColor ?? loaderColor,
retryButtonTextColor: retryButtonTextColor ?? backgroundColor,
);