cPadSymmetric method
Adds horizontal and vertical padding to the widget.
Parameters:
h
: The amount of horizontal padding.v
: The amount of vertical padding.
Returns: A new widget with the specified horizontal and vertical padding.
Implementation
Widget cPadSymmetric({
double h = 0.0,
double v = 0.0,
}) =>
Padding(
padding: EdgeInsets.symmetric(
horizontal: h,
vertical: v,
),
child: this,
);