randomColorScheme function
Method to generate a random Color Scheme that's either light or dark.
Implementation
ColorScheme randomColorScheme(
{int? seed, bool isDark = true, bool shouldPrint = true}) {
if (isDark) {
return randomColorSchemeDark(seed: seed, shouldPrint: shouldPrint);
} else {
return randomColorSchemeLight(seed: seed, shouldPrint: shouldPrint);
}
}