Ashutosh singh

Results 4 comments of Ashutosh singh

I also i am facing same issue i solve by adding **enableForceNewConnection()** ``` socket = io( 'your socket url, OptionBuilder() .setTransports(['websocket']) //add this line .enableForceNewConnection() // necessary because otherwise it...

@AkbarBakhshi this function works like charm - ``` void popAllScreens() { if (_navBarsItems(context)[_controllers.index] .onSelectedTabPressWhenNoScreensPushed != null && !Navigator.of(_contextList[_controllers.index]!).canPop()) { _navBarsItems(context)[_controllers.index] .onSelectedTabPressWhenNoScreensPushed!(); } else { Navigator.popUntil( _contextList[_controllers.index]!, ModalRoute.withName(_navBarsItems(context)[_controllers.index] .routeAndNavigatorSettings .initialRoute ??...

@nitishk72 I also want this feature with PersistentTabView.custom the above solution not applicable.

Here is the code which i using in one of my projects . ``` `import 'dart:async'; import 'package:flutter/material.dart'; import 'package:flutter_mentions/flutter_mentions.dart'; import 'package:sportsshare/src/controller/mentions_hastags_controller/mention_user_hastgs_controller.dart'; class MentionHashtagTextField extends StatefulWidget { MentionHashtagTextField( {Key? key,...