Category "dart"

how to add symbols to text at flutter?

What is the way to write these symbols in Flutter (the symbols directed by the red arrow on image)?

How to use contains with a list in dart

Hi i have list of objects and i would like to check if a certain object is in the list i have the following code List<GladiatorOutput> gladiators = await

How to load data into the database and get it back

When I open the screen by "ID", I get the title and data from "dummy.dart" in accordance with the "exercise_model.dart" model, which fall into the "Slider", in

How to load data into the database and get it back

When I open the screen by "ID", I get the title and data from "dummy.dart" in accordance with the "exercise_model.dart" model, which fall into the "Slider", in

Flutter StreamBuilder shows Firebase data even when I'm offline

This is not a problematic question, it was asked because just wanted to know what's actually going on behind it, I can't find an answer in any documentation. Wh

How to get file extension from base64 String in Flutter | Dart

I have a base64 string of a document from api. I want to know which extension/file format is that. Because if it is in jpg/jpeg/png i want to show it in image w

Fl_chart barChart sample5. Need help resolving the errors

Fl_chart is not clear with how to implement their sample charts. I copied and pasted the sample code exact and yet there seems to be so much more that needs to

Flutter overide method back()

How can I make the back button work in android the same way as home. If I click on back, the application is killed, but I need the back button to work the same

The plugin `path_provider_android` doesn't have a main class defined

Since i wasn't using the plugin path_provider anymore i tried to delet it, then it gave me a warning, so i deleted a folder caled "data" know i'm trying to do f

Flutter Permission Request does not appear

I would like that when it is the first time on the application, it asks the user if it can access the photos. But when I uninstall the application to test, the

How to call a MFC Regular DLL in Dart or Flutter?

How could I call a MFC Regular DLL in Dart/Flutter? I successfully called a pure (No MFC) C++ DLL. But when I pasted the same code into a new-created MFC regula

I want to export my whole code base like a package or something like a module that I can import

I created an app for a small group of people. I created a lot of widgets/pages and models. Now another group asked if I could make them the app too. I could cre

type '(List<Animal>) => void' is not a subtype of type '((List<Animal?>) => void)?'

type 'List<Object?>' is not a subtype of type 'List<Animal?>' of 'function result' giving me errors on saving selected values value is shown in debu

How update provider's data in Flutter Dart

I have a list of a few things and each has its own ID. I want to pass that certain ID to the provider whenever it's clicked. But as of now, when I click on ITEM

How to download video from tiktok url by flutter?

I would like to download video from tiktok url by flutter. I was able to extract only video url from tiktok video url. Like this https://v16-webapp.tiktok.com/1

keystorePropertiesFile - Gradle task assembleDebug failed with exit code 1

I am getting this error after trying to run the app in an emulator. FAILURE: Build failed with an exception. * Where: Build file 'D:\Projects\news-app\news\mai

I want to calculate each number from the array in flutter

I have an array in the flutter final list = [1, 2, 3, 4, 5]; I want to loop through the array to calculate the sum of all the items in the array,how i can?

BlocListener confusion

I am trying to make an app using flutter blocs, but I am having troubles with the BlocListener not being called and I can't figure out what I'm doing wrong. Her

Define Extension function on GETx

I am trying to define an extension function on GetInterface as extension FindOrPut on GetInterface { S findOrPut<S>(S dependency,{String? tag}){ if(

Dart preview Flutter UI guides is not present in vscode?

I can't find the dart preview flutter UI Guides... I have installed flutter and dart extensions in vscode... Can anyone help?? my Flutter version 2.10.4 and Dar