How to Create Dart Packages for Your Flutter Apps

Andrea Bizzotto • June 1, 2020
Video Thumbnail
Andrea Bizzotto Logo

Andrea Bizzotto

View Channel

About

Tutorials about learning Flutter. Subscribe for regular videos covering all things Flutter, including state management, layouts, testing, and more. About me: I'm Andrea, and I created this channel to help you become a better Flutter developer. You can find more Flutter tutorials beyond my YouTube channel: Website: https://codewithandrea.com/ GitHub: https://github.com/bizz84 Flutter & Firebase Udemy Course (discount code included): https://nnbd.me/flutter-firebase

Video Description

Written tutorial here: 👇👇 https://codewithandrea.com/videos/2020-06-01-how-to-create-dart-packages-flutter-apps/ 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: 👇👇 https://github.com/bizz84/bmi_calculator_app_flutter Want more? Check out all my Flutter courses: 👇👇 https://codewithandrea.com/courses/ Happy Coding!

You May Also Like

Essential Gear for Your Next Shoot

AI-recommended products based on this video