formattedBoxEdge property
String
get
formattedBoxEdge
Implementation
String get formattedBoxEdge {
if (box!.top == box!.left &&
box!.top == box!.bottom &&
box!.top == box!.right) {
return '.uniform(${box!.top})';
} else {
var left = box!.left ?? 0;
var top = box!.top ?? 0;
var right = box!.right ?? 0;
var bottom = box!.bottom ?? 0;
return '.clockwiseFromTop($top,$right,$bottom,$left)';
}
}