This project is still in its very early stages. I'm still just figuring out the interface for the project and researching other scaffolding tools in both Dart land and other programming languages.
With this project, I'm following "interace-driven development": I write down how the tool I wish existed would behave and I document how I would trigger these commands. Most of the commands in this
README do not work at the moment, they are just my vision for this project.
create amazing Dart apps!
Dart has a huge, unlocked potential for becoming the full-stack language for the coming years. You run the code you write in Dart on the server, in the browser and on both of the largest mobile platforms, iOS and Android. I believe that the community solutions, the ecosystem will catch up, which in turn encourage more effort spent on making the language better and the runtime faster.
create's vision is to make sharing templates within the community easy.
- You want a Flutter app that follows your favorite state management patterns?
- Your team is just getting started with Dart and you don't want to figure out all the linting, testing, formatting and tooling issues, you just want these to be there and you want to run all the automated checks in your continuous integration pipeline, so that your team abides by the rules?
- You want a full-blown, full-stack project that creates a mobile app, Dart backend, and web admin interface? This package should enable the community to make these things happen.
- You feel like you want to create tens of Flutter plugins, but you are being slowed down and limited by the default template? You want your plugins neat, you establish some practices and coding patterns and you want these plugins to be consistent.
Current stage #
I'm still researching options. In the Dart community, we have
flutter create which strangely enough, are two different templating solutions (I mean, could you just agree on one?).
If you are new to Dart and Flutter, maybe you should try
flutter create first. They are opinionated and they are maintained by the Dart and Flutter teams.
- Unopinionated and free. Though Dart is not a new language, I believe we are seeing the renaissance of the language, and thus, we should be able to express and share all ideas and let the best approaches win.
- Support for all-things Dart. I want this package to enable the community to create templates for whatever they want. Mobile apps, command-line apps, AWS Lambdas, backend, frontend, full-stack. Plugins, packages, demo apps. Anything you want to share.
- Engine distributed as a pub package. Templates distributed as pub packages. For Dart developers, the pub is the central point for packages. I want to provide alternatives for templates, such as git repos and local folders.
Issues that this package should solve #
🔖 Clarify current stage, vision, goals and alternatives.
😆 Initial release, a beautiful empty package!
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: create: ^0.1.1
2. Install it
You can install packages from the command line:
$ pub get
$ flutter pub get
Alternatively, your editor might support
pub get or
flutter pub get.
Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Oct 21, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.5.1
- pana: 0.12.21
Detected platforms: Flutter, web, other
No platform restriction found in primary library
Maintain an example. (-10 points)
Create a short demo in the
example/ directory to show how to use this package.
Common filename patterns include
create.dart. Packages with multiple examples should provide
For more information see the pub package layout conventions.
|Dart SDK||>=2.1.0 <3.0.0|