show method

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

是否显示该控件

Implementation

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