Reusable Dart Code/Angular Dart Components

Issue

Is there a way to make dart code reusable without publishing is as a package to Pub? I have common code between a few different applications and am wondering how to structure it and use it with only one place the code is modified.

I have the same question for angular dart components. Is there a way to create a local package and use that in my projects without going through Pub?

Maybe I am completely misunderstanding the package structure, but I thought that is for published packages.

Solution

You have several options:

Answered By – Alexandre Ardhuin

Answer Checked By – Mary Flores (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *