expandConstrained method

ConstrainedBox expandConstrained({
  1. Key? key,
  2. double? w,
  3. double? h,
})

Implementation

ConstrainedBox expandConstrained({
  Key? key,
  double? w,
  double? h,
}) =>
    ConstrainedBox(
      key: key,
      constraints: BoxConstraints.expand(width: w, height: h),
      child: this,
    );