Flutter – want to add words like that in headsup game
I want to Add words like headsup game in video when video is shared to someone these words also add to the video I wrote these methods for this purpose but these did not work for me. I am using…
I want to Add words like headsup game in video when video is shared to someone these words also add to the video I wrote these methods for this purpose but these did not work for me. I am using…
I'm new to Flutter and I'm trying to understand the fallowing error: "Don't use 'BuildContext's across async gaps. Try rewriting the code to not use the 'BuildContext', or guard the use with a 'mounted' check." Here is my code: class…
I am creating quiz-like application. My aim is to open each question from separate button (box). The number of buttons is not constant, so I generate them dynamically. However I have a problem to unify their size (each should have…
in flutter/dart Future<Directory> Directory.create({bool recursive = false}) return a Future<Directory>, but Why? How does the Directory in the Future differ from the one I already have to run the directory creation?
i have this String stringArray = "[folder/1.png,folder/2.png,folder/3.png]"; this is what i want List array = ["folder/1.png","folder/2.png","folder/3.png"] converting to this List array = ["folder/1.png","folder/2.png","folder/3.png"]
im testing this method here @override Future<List<dynamic>> makeRequest(ApiRequestParams params) async { try { final request = await _repository.get(params); if (request == null) { throw Exception('Whoops'); } // Go on... } catch (e) { rethrow; } } When repository itself doesn't…
I want to format my DateTime.now() to March 19, 2024 at 11:06:32 AM UTC+5" but its Data type should be DateTime. I am getting Date in that format but it is in String: String formattedDate = DateFormat("MMMM dd, yyyy 'at' hh:mm:ss…
Here is my code for get image: Image.network('http://10.0.2.2:8000/${widget.product.imageUrl}', fit: BoxFit.cover), and the error: ════════ Exception caught by image resource service ════════════════════════════ The following HttpException was thrown resolving an image codec: Connection closed while receiving data, uri = http://10.0.2.2:8000/uploads/products/0-1713659504.png When the…
In my Flutter app, the flow starts with a splash screen that opens a new screen navigation menu on the homepage. However, when navigating to the product details screen from the homepage and then attempting to go back, the app's…
I encoded a Firestore DocumentReference inside a json object. Then I embed this string in a QR code. Then read the QR code with "mobile_scanner" package "subscriber_document_reference" : "${subscriber.subscriberDocumentReference}" Once I decode it, I get map with String key and…