webviewContainer method

Widget webviewContainer(
  1. BuildContext context
)

Implementation

Widget webviewContainer(BuildContext context) {
  double height = MediaQuery.of(context).size.height - 50;

  return Container(
    height: height,
    // child: widget.webView!,
    child: Column(
      children: [
        // Container(height: 10.0, color: Colors.white),
        Expanded(
          child: widget.webView!,
        ),
        Container(height: 20.0, color: Colors.white),
      ],
    ),
  );
}