Category "flutter"

Why does the Software Keyboard cause Widget Rebuilds on Open/Close?

I have a screen, which contains a Form with a StreamBuilder. when I load initial data from StreamBuilder, TextFormField show data as expected. When I tap inside

XCode Simulator Path in XCode 13.2

I tried to download manually the iOS Simulator 15.0 but I don't know where should I put the .dmg file or iPhoneSimulatorSDK15_0.pkg file, Does anyone have any i

Has anybody gotten flutter universal links with uni_links working on iOS 13?

I swear everything was working fine a few months ago. And then I picked up developing my app again lately and now I can't get universal links working on ios. An

Flutter future builder to list

I have some troubles in understanding how future builder works in flutter. I want to pass a list of String from my future call and I want to display them in a S

What went wrong: Execution failed for task ':google_api_headers:compileDebugKotlin'

When updating my flutter to version 3.0.0 , the console started showing me this error does anyone know how to fix it AppData\Local\Pub\Cache\hosted\pub.dartlang

How should I implement the init method? In a stateful or stateless widget?

What is the rule of thumb to use an initial method for a widget. Shall I use the: A. classical stateful widget approach? Or is it better to stick with the B. s

Flutter Web not displaying Material Design Icons

I started Flutter web and i wanted to add Material icons to my Flutter web app but its displaying boxes instead. Any help is appreciated. Thanks

Sending self sms from iPhone via flutter

I'm using the flutter_otp plugin for SMS. It works fine on Android but I get this error on iPhone. I tried different format for phone number but still the same

How to automatically update a Flutter Mobile app to newer version when the application is not on play store or app store?

let's say i have a Flutter APK hosted on my website where users can download and install , what i'm interested to know is how possible that the application can

Flutter (mailer package): mailing from within the app. not receiving mail

I am working on an app in flutter, and I would like to have a "give feedback option". this form consists of 1 text field where the message is typed, and 1 butto

How can I resolve "The argument type 'String' can't be assigned to the parameter type 'int' " - Flutter

I'm trying to fetch data Online Using HTTP GET with Flutter SDK. I'm trying with this code https://github.com/RaglandCodes/Flutter-basic-API/blob/master/lib/mai

Flutter: After deleting the last item in ListView item, it always gives a RangeError. Why doesn't it stop on new itemCount.length?

I've a listview of products and when I delete any item other than the last item, it works fine. But when I delete the last item in the listview, may it be 0th o

Flutter check if stream is empty before close end

I'm using BehaviorSubject as a Stream controller. In one of my functions, I want to .add more items only in case the Stream is empty of events. @override Fu

How to hide autogenerated files from VS code

I want to hide auto generated dart files like .g.dart, .freezed.dart from vs code project. How to do that?

Flutter build apk error Dart snapshot generator failed with exit code -1073741819

here is my flutter doctor output Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, v1.17.5, on Microsoft Windows [V

Staggered Gridview item disappear when scrolling

I have some question on the latest flutter_staggered_grid_view package. Can anyone help me please? the item in gridview below will disappear when scrolling Sliv

How i can fix this issue?? i can't compile my flutter web

How i can fix this ?? flutter build web Building with sound null safety Target dart2js failed: Exception: Warning: The 'dart2js' entrypoint script is deprecated

How to change a Flutter app language without restarting the app?

In the settings page of my app, I would like to add an option that controls the app language. I can set the language before starting the app like this: @ove

Flutter - Making DataTable responsive according to screen orientation/size

I am trying to make my data table in Flutter more responsive by adjusting the width according to screen resolution (eg: in browser, its the default width, and i

ExpansionTile lagging when expanding with a lot of children

Hello ! Everything is in the title. I have an expansion tile to show members of a group. When lots of people are in a group (here 47), the expansion is not smoo