showWebView method

dynamic showWebView({
  1. bool? isShowWebViewHalf,
})

Implementation

showWebView({bool? isShowWebViewHalf}) {
  BootpayPrint("showWebView : ${widget.c.isShowWebView.value} ${isShowWebViewHalf}");

  if(widget.c.isShowWebView.value == false) {
    if(mounted) {
      setState(() {
        widget.c.isShowWebView.value = true;
        if(isShowWebViewHalf != null) {
          widget.c.isShowWebViewHalfSize.value = isShowWebViewHalf;
        }
      });
    }
  }
}