mergeStyle function
Implementation
Map mergeStyle(dynamic styles) {
if (styles == null) return {};
final obj = {};
if (styles is List) {
for (var style in styles) {
obj.addAll(style);
}
return obj;
} else {
return styles;
}
}