symmetric static method
Creates symmetric edge insets on the given axis.
Implementation
static EdgeInsets symmetric(Axis axis, {
double main = 0.0, double cross = 0.0,
}) {
if (axis == Axis.vertical) {
return EdgeInsets.symmetric(
vertical: main,
horizontal: cross,
);
} else {
return EdgeInsets.symmetric(
horizontal: main,
vertical: cross,
);
}
}