When we start learning any technology, we directly go to YouTube and search for tutorials related to technology. It is good practice to learn from YouTube, but self-study is the best source of learning. Here you have to explore on your own and figure things out if you face any difficulties. In the beginning it will be difficult, but down the road there will be plenty of advantages.
Devising a roadmap to learn any technology will help us learn it quickly and properly. This is the roadmap I have built for learning flutter.
Table Of Contents
- Things you want to learn to build the flutter application.
- Dart basic concepts to keep in mind while developing the application.
- All about the flutter basics you want to learn.
- Explore the navigation in a flutter.
- Understand API integration in a simple way.
- Details explanation of storages used in a flutter.
- Manage a state using a provider package in a simple way.
- Explore some animations used in a flutter.
- All things you need to know about pubspec.yaml file.
- Learn the testing in a flutter with small a demo example.
1. Things You Want To Learn To Build A Flutter Application
While working on the application, we need to understand what things are necessary for the implementation of the application. What programming knowledge is required? We also need to understand what the pros and cons of using flutter are, how flutter is different, and many other aspects of using flutter.
To understand and get all the answers for the above question check out this article.
2. Dart Basic Concepts To Keep In Mind While Developing The Application
To build an application using the flutter framework, we need to learn dart programming. We should understand all the concepts of dart while working on the flutter application. As a beginner, we should learn about concepts like data types, loops, functions, etc available in the dart. Also, you can use the dartpad to practice the dart.
Learn more about the dart concepts that are necessary to build an application as a beginner by reading this article.
3. All About The Flutter Basics You Want To Learn
Flutter is all about widgets. Widgets are something that is available on-screen. It is visible to the user and it is part of the UI. We must be aware of how to use widgets properly. We need to understand what type of widget we need to build something. What type of widget do we need to perform any action? It is also necessary to understand how to customize the widget for reusability purposes.
Understand as a beginner which widgets you should be aware of by reading the article below in detail.
4. Explore The Navigation In Flutter
An application consists of multiple screens that are used to display information to the user. Navigation is an important part of this. It is also necessary to provide navigation between screens so the user will be able to move from one screen to another. In flutter, we use Navigator to move between screens. It has different methods that can be used to move between screens.
In flutter, we can also pass data to new screens using different methods of Navigator which can be explored by reading this article.
5. Understand API Integration In A Simple Way
API integration is the most important part of the development of the application. While working on the application, we need to fetch data through the server and display it on the screen. Or, we need to delete/ update the data that’s available on the server. It is necessary to understand how to connect the application with the server and perform this necessary action.
In flutter, we use the HTTP package for API integration. There are also other packages, but HTTP is commonly used.
Watch a small demonstration of API integration using the HTTP package by checking out this article.
6. A Detailed Explanation Of Storage Used In Flutter
When we develop an application, there may be a chance that we have to store a small amount of data locally. This data may be user information, or any other kind of information. It is not good practice to make an API call for a small amount of data that can be stored locally and make use of it.
Flutter provides us with different packages that can store a small amount of data like SQFlite, SharedPreferences, Hive, and FlutterSecureStorage, which are used to store data locally.
Click on the article below to learn how to use shared preferences and sqflite in detail, with an example.
7. Manage A State Using A Provider Package In A Simple Way
State management is the most discussed topic in flutter development. As a developer, we should always be aware of how to maintain the state of the application. In flutter, we have lots of packages which are used for state management like Bloc, Provider, Getx, MobX, etc. But it is always necessary to start with an easy one like Provider.
Learn more about state management using a provider package with a simple example.
8. Explore Some Animations Used In Flutter
Adding animation to the application is very useful for making it more engaging. Flutter provides a variety of animation support that can be easily implemented. In flutter, we have implicit animation and explicit animation. Implicit animations, which are implemented using animated widgets, and explicit animation, which are used to animate the widget according to the requirement.
Check out this article to understand some of the animations used in the flutter with a small example.
9. All The Things You Need To Know About A pubspec.yaml File
This is the most important file of the application. This file is auto-generated when we create the flutter application using the flutter create command. This file contains all of the metadata of the application. It is mainly used to add assets to the application or use external libraries in the application.
Learn more about the pubspec.yaml file in detail by checking out this article.
10. Learn About The Testing In Flutter With A Demo Example
Before launching any application, we always want to make sure that the application is working properly, so it is necessary to test the application. Flutter allows us to automate the testing in three different manners, such as Unit testing, Widget testing, and Integration testing.
Unit testing is used to test the function or method with a different condition. Widget testing is done to test whether the widget has been displayed properly or not. Integration testing is used to test the entire application.
Learn more about testing by reading this article with a basic example.
Link to the original article can be found here.