constrainedBy method

ConstrainedBox constrainedBy(
  1. BoxConstraints constraints, {
  2. Key? key,
})

Implementation

ConstrainedBox constrainedBy(
  BoxConstraints constraints, {
  Key? key,
}) =>
    ConstrainedBox(
      key: key,
      constraints: constraints,
      child: this,
    );