Category "flutter"

How do create a splitting container in flutter? What should be the right approach? CustomPainter or Chip?

Wanted to replicate some UI. Can I do this with in built flutter widgets? I have tried using Chip but was not able to. Will CustomPainter be the right thing to

Getting this error on tap function to see an image in a dialog box

onTap: () { showDialog( context: context, builder: (BuildContext context) { return ImageNetwork( image: data['image'].toString(), height: 400, width: 400, durat

How to fit showModalBottomSheet?

I have an application, I added showModalBottomSheet to this application. It looks like this: But there is one question. When I open the TextFormField with "&Uu

Flutter http post request to a PHP file

I am using Flutter for mobile app development. I need to make a POST request to a PHP file in order to save data in my MySQL server. However, I check the reques

unable to readCharacteristic in IOS using flutter_reactive_bel

IOS app is crashed after the connecting with device so for handle the crash using scanStream.cancel(), but after doing this one of my readCharacteristic is not

Why font family doesn't working on device OPPO and OnePlus version 12 in flutter?

enter image description here enter image description here This is my config font.

Is there a way to use the results of a catch block inside a widget in Flutter

I am building a flutter app with Firebase as the back end. I have created an AuthService class on a separate file and import and use the Auth functions inside t

Can't save video to Application directory - Flutter

I am working on an app where I want to record a video to file with the timestamp as name. As I understand it you should be able to use the returned XFile and us

Error when listviewBuilder scrollDirection is horizontal

I got this very simple code, but somehow I get an error when I set scrollDirection to Axis.horizontal I invoke this widget in Page that has MaterialApp and Scaf

Using Dart 2.17 Super Initializer for Widget key

Now that Dart 2.17 allows for the super initializer feature it seems that I can now replace my default boilerplate class WidgetName extends StatelessWidget {

How to observe the local db changes using getx in flutter

I am facing issue while observing the last changes in local database but without using the fetch query. I want the list to be updated automatically on ui whenev

Skip an item in gridview without leaving a hole

I'm building a gridview displaying thumbnails and do not want to show the items at index 0. I have a different widget where I show thumbnails using a listview

Class X is implemented in both places One of the two will be used Which one is undefined M1

I use Mac M1 and After I upgrade Xcode 13.3.1 , I got this error when I make a build for the project: Class AppleTypeCRetimerRestoreInfoHelper is implemented in

Face Swap and Face Detection/Recognition in Flutter

How does one go about creating a Face Swap mechanism in Flutter? Is it possible to do real time face swap in Flutter? Can anyone point me in the right direction

Delete user account in firebase

i have a flutter application where users have an email and password (accounts) and i want to give the user the option to delete their account if they want to, t

Getting error while running command "flutter build --release"

The android studio builds the apk perfectly with the following command : "flutter build apk" but is throwing error when I try to run "flutter build apk --releas

The body might complete normally, causing 'null' to be returned, but the return type, 'State<StatefulWidget>', is a potentially non-nullable type

I'm new in flutter. I tried to build a webview that have a token. I have used statefull widget but I am facing this error The body might complete normally, caus

Flutter: I can't pull data with Mysql1

I recently started Flutter. I want to make a simple contacts application with "mysql1" but I failed to pull the data. I installed the MySQL plugin in VS Code an

type 'List<dynamic>' is not a subtype of type 'List<Parking>'

I'm calling an API but I've been trying to parse this JSON response correctly but I haven't been able to resolve this issue. I call the API, and want to display

How to create dynamic introduction_screen in Flutter with introduction_screen package package link in description

How to create dynamic introduction_screen in Flutter with introduction_screen package. Means We are pass 3 screen in api. introduction_screen 3 pages. We are pa