Category "dart"

flutter bloc outdated need help how do i update this, PreferencesBloc Try declaring a zero argument constructor, doesn't have a zero argument constru

it is an outdated multilanguage code with bloc flutter, the error is in, Any suggestion to fix it would be greatly appreciated. PreferencesBloc({ required

Flutter: draw over image with CustomPainter with DrawnLines

A part of an application I am working on involves editing photos. I am attempting to include an option to draw on an image. I can not find any examples of how t

Convert date and time in dart [duplicate]

from API I am getting this: "2022-05-12T15:55:03.000000Z" My question is, how can I make it: 12.05.2022, 15:55 My question is, is here any eas

Displaying decimal numbers on 2D array grid view

I am trying to create a 2D grid with the following features: It will have more than 100 X and Y cells, so I cannot show them all on the screen. Therefore, I wan

How to have timer with variable duration in Flutter

How can I make a timer that its speed increases every minute i.e. the timer duration decreases evey 1 minute in Flutter?

How Manage SEO In flutter web?

I want to build my portfolio with Flutter web, but only thing is load on Inspect page is this: <flt-glass-pane style="position: absolute; inset: 0px; cursor:

How to find kernal time of real device using flutter?

Please, I want to find the kernel time of my application and I want to test it on a real device. Is there any way to find it by using flutter?  Also, I use

Is there a way to update the value of state provider in river pod after declaring it

final itemCountProvider = StateProvider<int>((ref) { return 0; }); i need to keep track of number of items selected in my project initially the item co

Flutter GeoCode plugin giving : Request Throttled. Over Rate limit: up to 2 per sec. error

I am using flutter GeoCode plugin to fetch address from latitude and longitude. I inserted a latitude and longitude. It returned address at first(around 2 to 3

Flutter I don't know how to select 'enum' pages in drop down button

List<String> ilac_items = ["İlaçlar","İnsektisit", "Fungusit", "Herbisit"]; String? selectedIlacItem = "İlaçlar"; Dropdow

Convert DocumentReference property into String from Firestore

I have a list of elements (Tickets) and since I can't convert the json because of one property (in this case user_id) being a document reference, how can I achi

Dart snapshot generator failed with exit code -6

I am trying to make a Android build from Android studio for flutter app but getting below error. How can I resolve the issue? Current flutter version: 2.10.2 &#

flutter change size of circle of slider

I use a slider and I want to change the size of the circle of the slider, can anyone help me, please? Slider( activeColor: MyColors.darkGrey

Is it possible to develop flutter windows desktop with fcm push notification?

I was thinking to developing a windows desktop application with dart and flutter but i don't know how can i integrate Firebase cloud messaging with it. Any sugg

i get "Error running 'main.dart': Entrypoint isn't within a Flutter pub root" every time i try to run my app

i'm working on app using flutter and android studio this is the error I get every time i try to run my app i tired running other projects and they ran completel

Put JSON Data in Flutter Stacked Chart

I have try to put my JSON data in flutter Stacked Chart. I already work on simple charts using JSON Data like bar, column, pie, Doughnut charts etc. I have refe

Future Call return API key invalid error UNAUTHORIZED

I'm trying to access an api endpoint using a Future and it constantly returns {"code":"UNAUTHORIZED","message":"Invalid API Key","timestamp":"2022-03-19T16:57:

Use Firebase Cloud Messaging in a Flutter Windows app

I have checked both firebase_dart and flutterfire packages but none of them provide a firebase FirebaseMessaging class to use. Is there any way I can use Cloud

Adding shadow text form field

I want to achieve this Here is my code so far, Padding( padding: EdgeInsets.fromLTRB(5, 10, 5, 10), child: Container( decoration: BoxDecoration(

json_serializable not generating code for final fields and getters

This is my class: @JsonSerializable() class Foo { final int a = 0; int get b => 42; } The generated code doesn't include any of the a or b field: Foo _$