responsive method Null safety

Widget responsive(
  1. {double maxWidth = kDefaultResponsiveWidth,
  2. ResponsiveMaxWidth? calculated}
)

Implementation

Widget responsive({
  double maxWidth = kDefaultResponsiveWidth,
  ResponsiveMaxWidth? calculated,
}) {
  return ResponsiveConstraint(
    child: this,
    maxWidth: maxWidth,
    calculated: calculated,
  );
}