tight static method

BoxConstraints tight({
  1. required double width,
  2. required double height,
})

Create tight constraints with responsive values

Implementation

static BoxConstraints tight({
  required double width,
  required double height,
}) {
  return BoxConstraints.tightFor(
    width: width.w,
    height: height.h,
  );
}