skip to Main Content

Flutter didChangeAppLifecycleState is not working

didChangeAppLifecycleState is not working. I have checked all other question related to this, but not helpful. @override void initState() { WidgetsBinding.instance.addObserver(this); super.initState(); } @override void dispose() { WidgetsBinding.instance.removeObserver(this); super.dispose(); } @override void didChangeAppLifecycleState(AppLifecycleState state) { // TODO: implement didChangeAppLifecycleState UpPrint(name:…

VIEW QUESTION

How to using Upstox WebSocketChannel in flutter?

I try get realtime data using https api but now i move on to websocket. and it's my https api using code look like: class UpstoxService { final String accessToken = "token"; final JsonService jsonService; UpstoxService(this.jsonService); Future<String?> getInstrumentKey(String tradingSymbol) async…

VIEW QUESTION
Back To Top
Search