Category "dart"

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'

Dart manual translation text problem with double letter key's value never shows

I'm currently facing this problem with flutter (dart): var data = { "U": "উ", "UU": "ঊ", } UU's value never get printed it print U's value twice

Sending Flutter form data into an SQLite database

I am a new Flutter developer trying to figure out how to send my form data into SQLite as an instance of a simple class I set up. I am trying to create a new us

google_maps_flutter crashes on ios device with the error "-[__NSCFString objectForKey:]: unrecognized selector sent to instance 0x2808f4380"

I have the google_maps_flutter 2.1.0 and flutter 2.10.3 running. While opening the map, the app crashes and shows the following error log. Could anyone point ou

How to achieve Expandable TextField with Center Align of text and prefixIcon in Flutter

I am stuck in trying to achieve a text field with prefix Icon. I want the text field and prefixIcon to be center-aligned and should expand while typing. Any hel

Showing Error (The operator '+' isn't defined for the type 'Uri'. Try defining the operator '+'.dart (undefined_operator))

THIS IS MY CODE this is the app for storing data into google spreadsheets. // showing red line under plus OPERATOR '+' in LINE import 'dart:convert' as convert;

Find the first page of a MuliPage in dart-pdf

I am creating PDF document using dart-pdf. It contains various sections that could be any number of pages in length. Each section starts on a new page. Currentl