Implementation
Map<String, dynamic> getBorderRadius(
String key, Map<String, dynamic> v, value) {
print(value);
var m = value;
v.addAll({
key: BorderRadius.only(
bottomLeft: Radius.circular(
m["borderBottomLeftRadius"] ??
m["borderLeftRadius"] ??
m["borderRadius"] ??
0,
),
bottomRight: Radius.circular(
m["borderBottomRightRadius"] ??
m["borderRightRadius"] ??
m["borderRadius"] ??
0,
),
topLeft: Radius.circular(
m["borderTopLeftRadius"] ??
m["borderLeftRadius"] ??
m["borderRadius"] ??
0,
),
topRight: Radius.circular(
m["borderTopRightRadius"] ??
m["borderRightRadius"] ??
m["borderRadius"] ??
0,
),
)
});
return v;
}