limitedBox method

Widget limitedBox({
  1. Key? key,
  2. double maxWidth = double.infinity,
  3. double maxHeight = double.infinity,
})

限制盒子 最大宽高

Implementation

Widget limitedBox({
  Key? key,
  double maxWidth = double.infinity,
  double maxHeight = double.infinity,
}) =>
    LimitedBox(
      key: key,
      maxWidth: maxWidth,
      maxHeight: maxHeight,
      child: this,
    );