Category "flutter"

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

Not able to align floating action menu in flutter

I have this menu on the floating button , but I could not align it correctly, I want it to show directly above the floating button, this is how it looks in red

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

Crashing when asking audio permission in iPhone 6s, iPhone 8 plus and iPhone XR

In iPhone 6s, iPhone 8 plus and iPhone XR with iOS 14.8.1 and 15.3.1, app is crashing when click on audio button. At this time it is asking permission. I follow

Flutter: Equivalent of Animation<double> for a ScrollController

With Flutter we can provide an animation with a default value before we have built an AnimationController to act as it's default value. This is done with Always

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?

Can't run on dart_vlc on Flutter 2.10.4

dart_vlc (https://github.com/alexmercerind/dart_vlc) was compiling for macOS up to now, but after upgrading to Flutter 2.10.4 I receive this error while compili

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:

Stepper in a singlechildscrollview throw layout error

Main Screen Code Block: Scaffold( resizeToAvoidBottomInset: false, appBar: AppBar(backgroundColor: Theme.of(context).primaryColor), endDrawer: const AppDrawer()

my flutter app wont start and stuck on loading screen on the phones

I have made a weather app (trained by Angela Yu) I start it on emulator or while my phone is plugged to pc without problem but when I make APK file and install

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

Flutter Web-RTC getDisplayMedia results in app crash

I want to create an app for Video-calling between 2 devices, with the possibility to share their own screen with the Flutter WebRTC plugin. I already made the v

Static image with scrollable text in flutter

import 'package:flutter_svg/flutter_svg.dart'; void main() { runApp(MaterialApp( home: Scaffold( // adding App Bar appBar: AppBar( ac

How to remove symmetric margin from AlertDialog in Flutter?

I am showing AlertDialog when ontap InkWell all is well just one thing I don't know where this margin in top and bottom came from. This is the result I've got

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

what is the best way in flutter to implement payments?

I have to implement an app and a web app with payments. I wanted to use Firebase functions, what do you think is the best way to do it? APay, GPay, PayPal, Stri

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