All Questions
493
questions
0
votes
0
answers
22
views
Flutter , How to form a sentence from a words that broadcasted from a websocket
Im using a websocket to make a chatbot. This is a broadcast Stream
WebSocketHelper(@Named('webSocketUrl') String url)
: channel = IOWebSocketChannel.connect(url) {
_broadcastStream = ...
0
votes
0
answers
99
views
Flutter: I get an error while decrypting the file in chunks
I have an encrypted file and I want to decrypt it the key and IV is saved in sqflite database and I get it from 'downloadedAudioModel' and then load the decrypted bytes to my audioPlayer
I have this ...
0
votes
1
answer
60
views
Passing Streams to and from a Function (flutter_libserialport data to COBS decoder)
I've been trying to get the COBS 0.2.0 decodeCOBSStream function working. I'm sending data from the PC's Bluetooth connection from a Hercules terminal program (HEX values with CR/LF disabled) to an ...
0
votes
0
answers
51
views
Test that a Dart stream does not emit anything, without listening to it
I am currently working on a Flutter app, but my question is solely related to Dart. I need to implement a repository which exposes an outbound stream of data. This repository's responsibility is to ...
0
votes
0
answers
37
views
use ordinary spotify user account to play music in flutter
I'm currently making an app where, among other things, I want to play music in my Flutter app using Spotify. I've been working on the Spotify API for a while now. So far I've only found the option to ...
1
vote
1
answer
218
views
Trouble Verifying Purchase Status in Android App with Flutter and In-App Purchases
I am developing an app that features non-consumable in-app purchases. I've successfully implemented this on iOS, but I'm encountering issues with the Android version. I have set up an in-app product ...
0
votes
0
answers
87
views
Not able to play stream using easy_onvif for ONVIF camera
I am building Flutter application that is supposed to display stream using a specified ONVIF IP address. However, for some reason my code is not working as expected;
import 'package:flutter/material....
0
votes
1
answer
124
views
User Preferences Flutter Management
I am developing an app with Flutter in which the user preferences affect the UI, for instance the user preferred metric system affects how measure are shown by converting to kg or lbs.
I was curious ...
0
votes
0
answers
109
views
calling to StreamController.addError after calling StreamController.add gives error
I'm trying to forward a stream results to StreamController, however on calling the 3rd future on the example, the StreamController throws an error with unhelpful message.
This is replicable when I try ...
0
votes
0
answers
45
views
Is it possible to stream a image with recoding video at the same time in Flutter
I am using the Flutter-vision package for object detection and the camera package. I tried recoding a video at that same time and image streaming to detect the object but the camera plugin we can use ...
0
votes
0
answers
31
views
Yield Stream Update Inside a Listener
Is it possible to yield Stream updates within a listener? For example, the user stream is updated here and I have other user related data that I am listening to that I wish to update the same stream ...
0
votes
0
answers
157
views
Error during streaming: HttpException: Connection closed while receiving data. in Flutter
I've already checked online but i didn't found the solution.
I Have a node js server that performe a query on a SQL DB Streaming the response.
I Have a flutter app that try to read that stream but ...
0
votes
0
answers
61
views
Return a use case response with a stream and a final result
In dart/flutter, i try to determine a users GPS position once. Since a one-time query for a GPS position might be very inaccurate (accuracy ranges from 3 to 100m sometimes), i try to "listen"...
0
votes
2
answers
109
views
Can we add a null value to a StreamController? (Flutter, Dart)
I want to add a null value to a stream, but it will show an error.
When I do:
final StreamController<Car?> streamController = StreamController<Car?>.broadcast();
streamController.add(null)...
0
votes
0
answers
43
views
get the number of elements currently pending in a stream
If I have a StreamContoller and a StreamSubscription and I have called StreamSubscription.pause() how can I get the count of the elements in currently pending in the stream?