Category "flutter"

How to make 2 FutureBuilders wait on the same Future in Flutter?

I have a Future which, when complete, adds some data to a ChangeNotifierProvider. Then I use the data in the ChangeNotifierProvider to populate some ListViews.

How to play Music (mp3, m4a etc) from Google Drive in Flutter

I want to play Music Files like mp3, m4a files from Google Drive in Flutter. So far, I'm able to fetch the link of files in my google drive Assets I'm using ass

Flutter : Handling error Dio Package (404,400 etc)

I'm learn searching data by ID with package DIO https://pub.dev/packages/dio, my problem is every time I'm type wrong keyword search, the app suddenly crash wit

How to solve "Invalid image data" error in Flutter

I'm using SQLite for storing data locally. insert an image as a string and get them to show here is the error that occurs _Exception (Exception: Invalid image d

Flutter auto_router: Error: Type 'NavigatorState' not found

Problem summary Hi, I have an issue getting the auto_route package up and running in a Flutter project. Following the official documentation, I have done the fo

Flutter video_player multiple videos

Flutter video_player package has this bug, when you play 4-5 videos, after that it hangs, does not play any more videos. Looks like in the backed its not releas

Refresh Indicator not working with NestedScrollView

@override Widget build(BuildContext context) { super.build(context); SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values); return Anno

How To Prevent Navigation Loops In Flutter

In my application I have 13 screens in total, some of them has links to other screens, I also have a drawer that has links to most of these screens. The followi

How to increase slider track width in flutter

In SliderThemeData trackheight is given but I want to increase the track's width. Here is my current code: SliderTheme( data: SliderThemeData( tra

Flutter Getx Snackbar not wroking

I have created a flutter app and used getx package. But then I used it to show the snack bar, the function gets executed but the snack bar is not showing up. o

Flutter - drawAtlas circular cutout

I'm trying to implement a circular cutout of an image and I am using drawAtlas for it. Here is my implementation so far: canvas.drawAtlas( image!, [ /*

Add one flutter app to another existing flutter app

Is there any way to merge a smaller flutter app to another flutter app? I'm finding ways to merge the flutter app to a native android app, but can we do it to a

Can i avoid this error. E/InputMethodManager: Failed to get fallback IMM with expected .flutter.plugins.webviewflutter.InputAwareWebView

I'm Using the flutter_tex library flutter_tex flutter_tex: ^3.6.7+10 I want to release the app in the play store. My app is running fine. But I'm getting thi

Flutter: Missing Plugin Exception Raised when running release builds of android app

Issue I am currently working on an app which uses multiple packages. The app works like a charm in both debug and profile modes. But when I get the release buil

Flutter how to create responsive Text widget?

I'm facing a problem with responsive texts. In my app are different text font sizes and I need to do them responsive for different screen sizes (only phones and

how can I make scrollable and responsive screen flutter

I have implemented a login screen using flutter. the screen is fully functional and working properly with validations. I want this screen to be scrollable and

How to get substring between two strings in DART?

How can i achieve similar solution to: How to get a substring between two strings in PHP? but in DART For example I have a String:String data = "the quick brow

How to change the application language with BlockBuilder?

The application needs to implement language switching at runtime. Wrote a bloc with event and state and called BlocBuilder in main.dart. But I don't know how to

Could not create task ... this and base files have different roots

I've built an app with Android Studio and Flutter and wanted to generate a signed APK. When I go to Tools->Flutter->Open Android module in Android Studio,

Flutter desktop - drop out files

I use this plugin to drag files from desktop to my flutter app: https://pub.dev/packages/desktop_drop There is any plugin to do the opposite? So drop out from m