tightConstrained method

ConstrainedBox tightConstrained(
  1. Size size, {
  2. Key? key,
})

Implementation

ConstrainedBox tightConstrained(
  Size size, {
  Key? key,
}) =>
    ConstrainedBox(
      key: key,
      constraints: BoxConstraints.tight(size),
      child: this,
    );