padSHV property
EdgeInsets
get
padSHV
creates symmetric padding
0th element of list is taken as horizontal and 1st element as vertical.
Implementation
EdgeInsets get padSHV {
assert(this.length == 2, "List should have exactly 2 elements");
return EdgeInsets.symmetric(
horizontal: this[0].toDouble(),
vertical: this[1].toDouble(),
);
}