withElseShow method

Widget withElseShow(
  1. bool isShow,
  2. Widget widget
)

判断显示哪个控件

Implementation

Widget withElseShow(bool isShow, Widget widget) {
  return isShow ? this : widget;
}