Flutter Wrap text on overflow, like insert ellipsis or fade

Posted by Pinki | Updated on | Flutter


Flutter Wrap text on overflow, like insert ellipsis or fade. You should wrap your Container in a Flexible to let your Row know that it’s ok for the Container to be narrower than its intrinsic …

Passing data to StatefulWidget and accessing it in it’s state in Flutter

Posted by Jessica Taylor | Updated on | Flutter


Passing data to StatefulWidget and accessing it in it’s state in Flutter. To use recordObject in _RecordPageState, you have to just write widget.objectname like below:

How to make Modularization in Flutter to separate each application feature

Posted by Andre Scott | Updated on | Flutter


In this example, I will share how to make Modularization in Flutter to separate each application feature Create each feature as a package(library) and add it whenever you want to the main app. For example …

Error with Google Maps Flutter in Android Studio

Posted by Jennifer | Updated on | Flutter


Error with Google Maps Flutter in Android Studio. You probably have to migrate your project to AndroidX. I had a similar issue in my project. Open you Android folder in Android studio, go to File …

How to make multiple themed apps from one flutter project?

Posted by Jessica Taylor | Updated on | Flutter


If you want to make multiple themed apps from one flutter project? You can create the multiple flavors. In android you can add a flavors in android/app/build.gradle:

How to create pageview overlapping effect?

Posted by Andre Scott | Updated on | Flutter


Want to create pageview overlapping effect? I tried replicating your sample, but I’m uncertain about your PreloadPageController (and maybe other details), so my sample might look glitchy. Additionally, I’m not wholly familiar with cropping widgets. …

How to implement VerticalMultiDragGestureRecognizer bottom to up gesture in flutter?

Posted by Andre Scott | Updated on | Flutter


Want to implement VerticalMultiDragGestureRecognizer bottom to up gesture in flutter? I have created a sample code below that should guide you about how to detect two finger swipe.

How to save ImageCache to the disk in flutter?

Posted by Jennifer | Updated on | Flutter


Want to save ImageCache to the disk in flutter? Flutter’s image cache is for decoded images. It sounds like what you want is a cache of encoded image files. You could build this yourself by …

How to use ServerValue in FirebaseDatabase plugin for flutter?

Posted by Andre Scott | Updated on | Flutter


If you want to use ServerValue in FirebaseDatabase plugin for flutter? You can use ServerValue.timestamp to set time:

How to get firebase dynamic link if app is already running in flutter?

Posted by Pinki | Updated on | Flutter


If you want to get firebase dynamic link if app is already running in flutter? I had the same problem and I solved using WidgetsBindingObserver to listen when the app is foreground, but I found …

How to retrive List of String from method channel

Posted by Andre Scott | Updated on | Flutter


How to retrive List of String from method channel. Here is how i did it. Android Native code (Send list with Strings): Flutter Code:

Adding new pages to a PageView while swiping

Posted by Andre Scott | Updated on | Flutter


Adding new pages to a PageView while swiping. I got to this point, and I am kind of close, but not close enough…

More than one SharedPreferences in a project

Posted by Jessica Taylor | Updated on | Flutter


More than one SharedPreferences in a project. AFAIK, there can be only one SharedPreferences file (although in Android, we can create multiple files but in iOS we can have just one file which is why …

Navigate using bottom app bar tabs flutter

Posted by Andre Scott | Updated on | Flutter


Navigate using bottom app bar tabs flutter. You can use a BottomNavigationBarItem instead of creating buttons and use the ontap of the bottomNavigationBar.

Using GestureDetector to catch gestures of MaterialButton child

Posted by Jennifer | Updated on | Flutter


Using GestureDetector to catch gestures of MaterialButton child. You must do the opposite. Instead of wrapping RaisedButton in a GestureDetector, wrap a GestureDetector in a RaisedButton. You also have to remove the RaisedButton padding, so …