dawn 2.4.2 copy "dawn: ^2.4.2" to clipboard
dawn: ^2.4.2 copied to clipboard

discontinuedreplaced by: navand

Dawn is a Dart web package for developing UIs in a pattern similar to Flutter.

dawn #

Description #

Dawn is a Dart Web package that provides basic classes like StatelessWidget similar to Flutter, but with a different implementation. It compiles to JavaScript and paints the UI using HTML and CSS.

Example | Reference

Getting Started #

  1. Installation #

    dart pub global activate dawn

  2. Setup #

    dawn create my_awesome_app

  3. Build For Development #

    dawn compile

  4. Start Live Server #

    "Live Server" extension for VSCode is recommended.

    After Step 4, you will see this page on your browser:

  5. Build For Production #

    dawn compile --mode prod

Why Dawn Exists #

  • I really like Flutter's approach (StatelessWidget, StatefulWidget, State<T>, 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.

13
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Dawn is a Dart web package for developing UIs in a pattern similar to Flutter.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

args

More

Packages that depend on dawn