getWidget property

Widget get getWidget

Get the TBLWebView widget

Implementation

Widget get getWidget {
  return FutureBuilder<void>(
    future: _initializationWebviewCompleter.future,
    builder: (_, AsyncSnapshot<void> snapshot) {
      if (snapshot.connectionState == ConnectionState.done) {
        return _taboolaWebView;
      } else {
        return Container();
      }
    },
  );
}