checkColors static method
take the color all strings with alpha and swap the last two characters to the start position RGBA-> ARGB
Implementation
static void checkColors(Map<String, dynamic> defaultConfiguration) {
defaultConfiguration.forEach((key, value) {
if (value is Map) {
checkColors(defaultConfiguration[key]);
} else {
defaultConfiguration[key] = swapColorString(value);
}
});
}