Written tutorial here: 👇👇
codewithandrea.com/videos/202...
How to create your own Dart packages from existing apps, and other things you need to know.
Includes a step-by-step guide, showing how to convert a sample BMI calculator application to use internal packages within the same project.
Also included:
- Dealing with existing, large apps
- Reusing packages across multiple apps
- Local vs remove (git) packages
- Versioning packages and the humble changelog
HIGHLIGHTS
00:00 - Intro
01:23 - Overview of the starter project (BMI calculator)
03:13 - Creating a new package and using it in the main app
06:52 - Recap: moving code to packages
07:30 - Organizing package code with part and part of
09:40 - Creating packages from complex apps
10:38 - How to reuse packages across multiple projects
12:05 - Package versioning and changelog
Starter project source code: 👇👇
github.com/bizz84/bmi_calcula...
Want more? Check out all my Flutter courses: 👇👇
codewithandrea.com/courses/
Happy Coding!
4 авг 2024