SizedBoxResponsive.fromSize constructor
Creates a box with the specified size.
Implementation
SizedBoxResponsive.fromSize({Key? key, Widget? child, Size? size})
: super(
key: key,
child: child,
width: size?.width == null ? null : size?.width.w.toDouble(),
height: size?.height == null ? null : size?.height.h.toDouble(),
);