Category "flutter"

How to identify if an error crashes the app in Flutter with Sentry

I'm tracking all my app crashes with Sentry and all errors are tracked successfully, but I still haven't found a way to identify if the error reported by Sentry

ScreenUtilInit should be return but WillPopScope need to return at the same time

Update: I solved the first problem (merged codes). But now i have a different problem. I have LateError (LateInitializationError: Field '_instance@34075166' has

Reordering an 'active' widget in flutter with Reorderables package

I'm using 'package:reorderables/reorderables.dart' I use the ReorderableColumn which contains a column of widgets. The 'normal' drag/drop works fine when the co

Flutter AutoRoute open child page from nested page

I need to implement the following routing: home_page -> nested_page -> child_page. But I am getting an error: Looks like you're trying to navigate to a n

how to insert a text in a container and padding for an image

I want to insert a text to my container I tried this code segment. but it is not displaying. first image showing how it display now. image two showing how I nee

How to use proxies library in flutter?

I want to create an Android app that connects to a proxy by button clicked and I'd like to know what should do to make this event? My proxy needs(password, user

The argument type 'EdgeInsets' can't be assigned to the parameter type 'MaterialStateProperty<EdgeInsetsGeometry?>?'

I am trying to add some padding to my widget but i am encountering this problem: TextButton( style: ButtonStyle( padding: EdgeInsets.symmetric(vertical: 2

Flutter error building for iOS "ld: framework not found"

I've been working for a few weeks on a Flutter app which I run on Android and iOS. It worked well until some days ago I upgraded the flutter version and some pa

Keycloak to Flutter Android App Redirect Issue : HTTP is working, HTTPS is giving error

I have implemented flutter_appauth and I am using Keycloak as Authentication Server. Code snippets are as follows: Main.dart final String _clientId = 'flutter-d

How to update state in a fcm handler with StateNotifierProvider?

In my Flutter app i need being able to react on incoming fcm messages which can instruct the app to go a different navigation tab by having a corresponding key/

How can I apply Navigator.pop given the status of a provider within a ModalBottomSheet flutter?

I have the following method that launches a bottom sheet modal and inside that modal, I have a button that is responsible for carrying out a process, the butto

how can I go back to debug mode after releasing the app?

I built my app by the release mode, and then I realized I couldn't use 'hot reload' and emulator in the release mode. So I want to switch release mode to debug

How to preview video thumbnails while scrubbing the progress bar in video_player(Flutter)?

I am building and VOD app, and trying to implement Youtube like on scrubbing showing thumbnails images for the relative time frame. I have generated video thumb

Can't able to save and display camera images in gridView in flutter using image_picker

I am creating a widget in which I want to display a gridview of image clicked through mobile camera at runtime. I had used image_picker package from flutter. Bu

How to open my flutter app by clicking a url

I'm working on a flutter app, and now I need to be able to open my app whenever a URL with a certain pattern is clicked. In other words, I'd like to have that o

Can we do twitter authentication without firebase in flutter app?

I just want to ask that can we do twitter authentication in flutter project without using firebase?

How to set Camera Preview to full screen in Flutter?

I am using the camera 0.9.4+5 package. I think the Camera Preview's size and aspect ratio of the package has been changed. Please let me know how to set the Cam

Unable to run Flutter project on Android after update

I've been trying to get my Flutter project to run after upgrading it to 2.10.4 and it's been a headache from the start. The project runs fine on a browser, but

Store profile image in local storage and display it

I am building a profile page for my app in which I have a profile image section. I want to store the image that the user selects in the local storage and load i

Flutter can't find file downloaded to the flutter_assets folder

I download a file from AWS after runtime, and I checked to confirm that the file gets saved correctly in: /data/user/0/APPNAME/app_flutter/flutter_assets/FILENA