of static method

ResponsiveConstraint of(
  1. Widget child, {
  2. double maxWidth = kDefaultResponsiveWidth,
  3. ResponsiveMaxWidth? calculated,
})

Implementation

static ResponsiveConstraint of(
  Widget child, {
  double maxWidth = kDefaultResponsiveWidth,
  ResponsiveMaxWidth? calculated,
}) =>
    ResponsiveConstraint(
      child: child,
      maxWidth: maxWidth,
      calculated: calculated,
    );