paddingSymmetric method
Adds padding around the widget. EdgeInsets.symmetric() is used to create the padding.
Implementation
Padding paddingSymmetric({
double horizontal = 0,
double vertical = 0,
}) {
return Padding(
padding: EdgeInsets.symmetric(
horizontal: horizontal,
vertical: vertical,
),
child: this,
);
}