symmetric static method
Create symmetric responsive padding
Example:
padding: ResponsiveEdgeInsets.symmetric(horizontal: 5, vertical: 2)
// horizontal: 5% of width, vertical: 2% of height
Implementation
static EdgeInsets symmetric({
double? horizontal,
double? vertical,
}) {
return EdgeInsets.symmetric(
horizontal: horizontal?.w ?? 0,
vertical: vertical?.h ?? 0,
);
}