Category "dart"

Problem with time picker not working flutter

Problem with the time picker not working when I choose the time it should be typed automatically in the field code : https://codeshare.io/WddQvl onTap: () {

Flutter Spinner date picker (CupertinoDatePicker) change order/swap location

I want to use Spinner date picker but I did not find it in flutter packages I found something similar CupertinoDatePicker which works fine. but I can't change

How to make a simple Flutter stopwatch foreground service on Android?

I am implementing a stopwatch (0 to .. seconds counter) in my app. I succesfully implemented it in my Dart code, but I need it to work even if the app is closed

Parsing csv data - Flutter

I'm receiving data from the csv file as SERVICE_ID‡WEIGHT_ID‡DISTANCE_ID‡BASE_PRICE‡IDENTIFIER PARCEL‡W0‡‡0.00&

Send emails from flutter application without expenses or smtp server and without opening the gmail app

As the title says, I would like to know if there is any way to send emails without having to use an external service, that charges me for sending the messages,

why the second short form constructor gives the error that name and age must be initialized but not the commented ctor?

I am beginner in dart language. So i created this class .. class X{ String name; int age; // X(this.name,this.age); X(name,age); } In this code the sh

Apple pay using Stripe shows error in flutter

Apple pay using stripe shows an error in flutter before it's working fine but currently shows an error. Payment intent generating working fine but when I do pay

Flutter firebase authentication event handler and hot reloads

Following this blog post: https://blog.ishangavidusha.com/flutter-authentication-flow-with-go-router-and-provider I have implemented a flutter app using the go

This app is using a deprecated version of the Android embedding

I am getting the following error. This app is using a deprecated version of the Android embedding. To avoid unexpected runtime failures-, or future build failur

flutter_downloader In the release version, it crashes (on Android)

I use flutter_downloader (on Android) Everything is correct in debug and profile mode and works well, but in the release version, after hitting the download but

Converting unit8list to video file with out creating it and its be on memory

I have downloaded the bytes of a movie and stored them in a database. I need a way to convert it back to a movie to give it to the video_player package to play.

Socket connection not workin in flutter release apk

I am new to working with sockets, and I am working on this project where a connection between my android flutter app and a java server is needed, to do this I a

How to make gradient button in Flutter

I am new to Flutter and I want to make like this gradient button in Flutter. you can also give tutorials to make this type of button. I want that gradient on th

Flutter : Zooming canvas in certain places

I am trying to make something like a magnifying glass on a Custom Painter. So far I am able to use Backdropfilter with imagefilter matrix scaling like below: Ba

flutter - check if list contains value from another list

I have two lists, one with posted images and a second with friends. Only friends posts should be displayed from the posts list. In this case for Obi. class p

How to display local notification periodically with Flutter?

I want to launch notifications periodically if a condition is checked class notification definition FlutterLocalNotificationsPlugin notificationsPlugin = Fl

How to create a screenshot taking application using Flutter?

I am thinking of making a Screenshot application using Flutter. The features of the screenshot application will be: Creating a floating button, that can float/d

Can we Delete Singleton class in flutter

I wanted to delete singleton class when i need Could you please tell me is it possible to dispose or remove singleton class from memory instance after use

LateInitializationError Flutter using SharedPreferences.then

I want set value of bool v from SharedPreferences in flutter but getting LateInitializationError. here's my code: import 'package:agl_mdd/home/home.dart'; impor

Flutter: How to copy HTML into the clipboard so mail apps recognize it as HTML?

Is it possible to copy HTML and paste it into Gmail or Apple Mail? Sample HTML: <img src="w3schools.jpg" alt="W3Schools.com" width="104" height="142"> I'