From the course: Flutter Essential Training: Build for Multiple Platforms
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Plugins vs. packages - Flutter Tutorial
From the course: Flutter Essential Training: Build for Multiple Platforms
Plugins vs. packages
- I'm constantly mentioning packages and plugins and you might be wondering what is the difference between the two? Here I've opened to popular Flutter projects that are used as dependencies in Flutter app. One is the device info plus package that tells you the device information of the device you're running the project on. And the second is the HTTP package that helps you make HTTP requests. Now, do you see the difference between both? Here we have the folder example, lib, test and few configuration files. And similarly, here we have Android, example, iOS lib, macOS and few configuration files. So one library has only the lib and the test folder. So basically if they have unit test they will have the test folder. However, the other repo has the Android, iOS and macOS always folder, along with lib because to provide the information of the platform and device the project is running on, Flutter needs to communicate with…
Contents
-
-
-
-
-
-
-
Organizing the styles and colors for the login page9m 9s
-
(Locked)
Organizing the styles and colors for the chat page4m 15s
-
(Locked)
Understanding the anatomy of a pubspec.yaml file5m 4s
-
(Locked)
Exploring pub.dev3m 24s
-
(Locked)
Plugins vs. packages2m 22s
-
(Locked)
Adding plugins to your app from pub.dev4m 29s
-
(Locked)
Adding packages from external sources6m 35s
-
(Locked)
Modeling entities in Dart7m 2s
-
(Locked)
Generics in Dart10m 40s
-
(Locked)
JSON: Serialization vs. deserialization2m 16s
-
(Locked)
Reading data from a JSON file13m 25s
-
(Locked)
Improving UI with box constraints4m 42s
-
(Locked)
Calling a parent class method from child class4m 30s
-
-
-
-