Flutter – What do these yellow lines mean in this source code
How do i remove these lines, those are quite unpleasant to look at.
How do i remove these lines, those are quite unpleasant to look at.
I am using the json_serializable package in Dart to convert my objects to JSON so I can then store them in a SQLite database. I am struggling in converting one particular property on my class because it is a map,…
I am trying to set my flutter version to 3.10.2. I tried using fvm use 3.10.2. When I run fvm list, I get: Cache Directory: /home/me/fvm/versions 3.19.3 3.10.2 (active) 3.3.1 But when running fvm flutter --version, i get: Flutter 3.19.5…
Launching libmain.dart on Android SDK built for x86 in debug mode... FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':package_info_plus:compileDebugJavaWithJavac'. error: invalid source release: 17 Try: Run with --stacktrace option to get the stack trace.…
Launching libmain.dart on Android SDK built for x86 in debug mode... FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':package_info_plus:compileDebugJavaWithJavac'. error: invalid source release: 17 Try: Run with --stacktrace option to get the stack trace.…
I am new to flutter and no clear documents for creating a config file.What is the standard way of writing configuration in flutter similar to one below which we write in appsettings.json(.net core)? "Travel": { "EndPoint": "https://api.openai.com/v1/threads", "ApiKey": "sk-123", "AssistantId":…
I have a requirement where a string will be encrypted from flutter web app using Dart. The encrypted string goes to server and the same will be consumed by iOS Swift. Dart file String encryptString(Uint8List key) { try { final…
I have setup a sqlite stream from Drift: Stream<List> into my @oberservable class. I can make it an OberserableStream, but I dont understand how to get the list from the stream. My question is how can I get the list…
Always when i want to use microsecond of DateTime it is always return 0. So i made this test and set microsecond to 345: void main () { DateTime duration = DateTime(2024, 1, 1, 0, 0, 0, 0, 345); print(duration.microsecond);…
I'm new to Flutter and now I have a small task about creating a list of users with add, delete and update functions. The problem is about my catalog screen, after I created a catalog model, the destinationScreen shows an…