Answers for "webview flutter avoid reloading"

0

webview flutter avoid reloading

class ListWidget extends StatefulWidget {

  @override
  _ListWidgetState createState() => _ListWidgetState();

}

class _ListWidgetState extends State<ListWidget> with 
                  AutomaticKeepAliveClientMixin<ListWidget>{ // ** here

  @override
  Widget build(BuildContext context) {
    return Container();
  }

  @override
  bool get wantKeepAlive => true; // ** and here
}
Posted by: Guest on December-26-2020

Code answers related to "webview flutter avoid reloading"

Browse Popular Code Answers by Language