Hi folks, today we are going to discuss that how to use the refresh indicator in flutter applications.
A widget that supports the Material “swipe to refresh” idiom.
When the child’s Scrollable descendant over scrolls, an animated circular progress indicator is faded into view. When the scroll ends, if the indicator has been dragged far enough for it to become completely opaque, the onRefresh callback is called. The callback is expected to update the scrollable’s contents and then complete the Future it returns. The refresh indicator disappears after the callback’s Future has been completed.
The implementation is so easy👻. What…
Hi devs, Today we are going to see the quick implementation of Implicit animation by using the AnimatedCrossFade widget.
Animations are the most important part of a user experience and if we can get a better user experience by writing a few lines of code, what are you waiting for 👻
The AnimationCrossFade widget does the animation between two widgets on a certain condition and at a certain time duration and the widgets can be any type like Text, Color, Size, Column, Container, etc.
Here we are going to achieve the play and pause animation by using the AnimationCrossFade…
Recently I was working on notifications. While implementing it I faced an issue that I’m not receiving notification in the background and also when my application got terminate. I searched a lot and I saw that It’s not only me who’s facing this issue the Stack Overflow and GitHub are full with this issue. I did a lot of research on it and finally, I overcome this issue.
First Import all the necessary plugins.
Here I’m using these versions👇
Setting up the AndroidManifest.xml👇
Hi folks, today we are going to discuss that how to use the CheckBox ListTile in your flutter applications.
CheckBox ListTile widget is a combination of CheckBox and ListTile widget in which we create a checkbox in our ListTile widget with title and subtitle without creating a separate widget for both of them🤩
The usage is pretty much simple just take a look at the below code.
Hi guys, Hope you all are doing fine. Today we will take about the usage of shared preferences in a flutter 😃
In simple words shared preferences allow you to store small amounts of primitive data as key/value pairs in a file on the device.
First, install the shared preference dependency in your project 👌
For this, we have a method called to contain.
A flutter package for Form validation.
Hi folks, Today I’m introducing a very helpful flutter package for form validation. This package helps you a lot to do validation in a very short time period.
Let’s start first we have to import a dependency of owesome_validator in your flutter app pubspec.yaml file.
Then by using the owesome_validator function we will do the validation on our form.
Here we have a sample code as well.
Now we know how to validate our form with help of owesome_validator. Find out more articles and also support my youtube channel.
Hi, folks how are you all, so, in this article, we are about to learn how to create a flutter package. In this article we only see the basic step that we have to do to create a package, we will use the default code.
let’s start first we have to create a flutter package using an android studio but if you want to create it using the command line use this command.
flutter create — template=package package_name
Hi guys, Today we are going to implement the flutter pop menu in our application.
Import this into your pubspec file under the dependencies.
In your build method Provide the context to the popup menu
In this article, we are trying to achieve google sign in with firebase auth in a few steps.
First, we have to import Some dependencies.
I am using the following version of google sign in and firebase auth.