dawn 2.4.9 dawn: ^2.4.9 copied to clipboard
Dawn is a Dart web package for developing UIs in a pattern similar to Flutter.
dawn #
Description #
Dawn is a Dart Web Framework that lets developers to develop UIs with a widget model similar to Flutter. Dawn applications are compiled to JavaScript and are painted using HTML and CSS.
Getting Started #
-
Installation #
dart pub global activate dawn
-
Setup #
dawn create my_awesome_app
-
Build For Development #
dawn compile
To run with development server:
dawn compile -s
After Step 3, you will see this page on your browser:
-
Build For Production #
dawn compile -m prod
Why Dawn Exists #
- I really like Flutter's approach (
StatelessWidget
,StatefulWidget
,State
, etc.), but I didn't find it easy at all to develop custom UIs in Flutter compared to HTML and CSS. See this issue on GitHub. - Flutter web is great but it hugely suffers from initial loading performance.
I decided to make something that has the best of both worlds. The ease of developing custom UIs quickly with the elegant approach of Flutter, without compromising the performance.