Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create a package in dart

How do I create a package in the new Dart Editor?

There is no "Add Pub support" checkbox?

Also how to create "packages" with the new editor?

Is a tutorial out there that describes the process with the new Editor?

like image 646
mc_fish Avatar asked Dec 26 '22 21:12

mc_fish


1 Answers

To create a package named mypackage.

For Dart package:

dart  create --template=package-simple  mypackage

For Flutter package:

flutter create --template=package mypackage
like image 178
X PersPective Avatar answered Jan 29 '23 13:01

X PersPective