In this article we will be discussing about how to download our local project files (.png, .jpeg, .pdf,…) into any device in which our app is running.
In our case we will be having an image file inside the
lib folder of our project root directory and will be downloading that image file when the button is pressed.
1) Make use of the
AnchorElement from HTML DOM, and specify the name in which the image needs to be downloaded to the destination device.
In this article we will be discussing about how to create a HTTP request and display the response (JSON Data List) in our Flutter app.
Add the following
http package in your pubspec.yaml file.
First we need to create a model class, with data members as required.
In this article we will discuss about how to create a splash screen for our Flutter app.
Add the image file that we want to have as a splash screen for our app in the following folder of our project root directory.
In this article we will be discussing about how to handle local JSON (with encryption) and display them in UI.
2) Then let’s create a class that defines the
IV for encryption.
The following functions are used for.,
encryptMsg() => used for creating a hexadecimal string out of plain text.
decryptMsg() => used to decrypt the encrypted hexadecimal string.
getCode() => creates an encryption object from hexadecimal string.
3) Now our initial setup is ready, We…
In this article we will discuss about how to create and run a desktop app using Flutter.
To identify in which channel we are in , type the command.,
In this article we will be discussing about how to get notified whenever there is a change in value within the widget tree. With the help of this change notifier we can rebuild the parent widget whenever a change is detected inside the child widget, thereby updating the state of the entire widget tree with the new value.
In our case, we need to change the amount value whenever the count variable gets altered. …
In this article we will be discussing about how to add simple animations to our Text Widget using Animated_text_kit package.
This package provides multiple text animations such as.,
* RotateAnimatedText* FadeAnimatedText* TyperAnimatedText* TypewriterAnimatedText* ScaleAnimatedText * ColorizeAnimatedText* TextLiquidFill* WavyAnimatedText* FlickerAnimatedText
Now as an example we will be using one such style called the
skills[index] (in line no:3) is a variable that holds the text values.
List skills = <String>[
That’s it, to use other animation styles replace…
In this article we will be discussing about various features that can be implemented based on scroll event in Flutter.
As a quick intro., In this application we will be implementing two features based on scroll event.
Back to Top” button, which automatically scrolls to the very top of the page and appears as we scroll down the list.
All caught up” text, which appears when we try to scroll beyond the maximum scroll extent.
UI Screen has - a simple list view containing set of 50 items.
In this article we will be discussing about how to create a QR code with AES encryption and also scan that QR code to decrypt and get back the original message.
flutter_barcode_scanner: ^2.0.0 //for scanning QR
encrypt: ^5.0.0 //for AES encrption
qr_flutter: ^4.0.0 //to generate QR
url_launcher: ^6.0.3 //to launch the link in a browser
As a quick intro., In this application, we will be having two buttons, one for creating a QR Code and another for scanning the QR Code.
→ For creating a QR Code we will be getting the input data from…