kshow method

Widget kshow(
  1. bool isShow, {
  2. double? width,
  3. double? height,
})

是否显示该控件

Implementation

Widget kshow(bool isShow, {double? width, double? height}) {
  return isShow ? this : SizedBox(width: width, height: height);
}