withElseShowFun method

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

判断显示哪个控件

Implementation

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