tight method

Widget tight({
  1. double? width,
  2. double? height,
  3. double? size,
  4. Key? key,
})

约束宽高

Implementation

Widget tight({
  double? width,
  double? height,
  double? size,
  Key? key,
}) =>
    constrained(
      key: key,
      width: size ?? width,
      height: size ?? height,
    );