tightFor static method

BoxConstraints tightFor({
  1. double? width,
  2. double? height,
})

Implementation

static BoxConstraints tightFor({
  double? width,
  double? height,
}) =>
    BoxConstraints(
      minWidth: width,
      maxWidth: width,
      minHeight: height,
      maxHeight: height,
    );