buildResponsive method
Builds with the current Breakpoints.
This method will be automatically called when the breakpoint
changes.
Implementation
@override
Widget buildResponsive(BuildContext context, Breakpoints breakpoint) {
final sizedBoxData = data.getForBreakpoint(breakpoint);
return SizedBox(
width: sizedBoxData?.width,
height: sizedBoxData?.height,
child: child,
);
}