Today, we will talk about the role of commit messages and how to write good commit messages.
“A commit message shows whether a developer is a good collaborator.”
― Peter Hutterer
Commit message is one of the features of Git. The role of the commit message is to annotate on what and why behind each change, when you save your work to Git. A commit message is very useful method to communicate context about a change to other developers working on a project (or even yourself).
When writing a good commit message, you need to follow some rules.
A commit message is should be clear and meaningful and explain what changes you have made and why you made them. In this way, development and collaboration will become more efficient. …
In this tutorial we will retrieve json data in Flutter using HTTP package.
The HTTP package is used to retrieve data from the internet.
In this example, we will list the Breaking Bad characters on the screen.
Create a Firebase project.
Go to pubspec.yaml file and add http package under dependencies. (You can find the package here.)
Create a model folder under the lib folder to keep data. Then open a file named character.dart under the model folder.
First, open a Character class in this file and add the required properties: id, name, img and nickname.
Then, use the constructor named Character.fromJson to convert the Json data to character object. …
Firebase is Google’s mobile platform that helps you develop high-quality apps and provides hosted backend services such as a realtime database, cloud storage, authentication, crash reporting. Firebase supports Flutter, so you can add Firebase to your Flutter app.
XD to Flutter plugin generate code for building apps with Flutter based on your designs in Adobe XD. Thanks to the XD to Flutter plugin, you can easily transfer the design you create in Adobe XD to widgets and save time.
Let’s see how we can use “XD to Flutter” plugin in an existing Flutter project.
Open Adobe XD, choose Plugins then go Browse section and install the plugin called XD to Flutter.
Developed by Airbnb, Lottie is a library for Android, iOS, Web, and Windows. Lottie is used to adding animations on website or mobile application.
Unit Testing is a method of testing the smallest piece of code called a unit. The main goal is to validate that each unit of the software performs as expected.
The most important point in Unit Testing, is not to create test cases for everything but to focus on the tests that affect the behavior of the system.