A web framework for Dart based on Flutter's widget model. The goal of the project is conceptual and data model compatibility with Flutter. An explicit non-goal is "write once, run anywhere". Butterfly shares no code with Flutter.
Disclaimer: This is a personal experiment. This is not an official Google product.
Can now render the TodoMVC app (ported from Angular 2). Maybe, just maybe, someone could even write a simple app with it? Good luck!
butterfly is born.
Add this to your package's pubspec.yaml file:
dependencies: butterfly: ^0.0.2
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.0.2||Apr 30, 2016|
|0.0.1||Apr 3, 2016|
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 Jul 20, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: web
lib/src/key.dart failed with 2 errors:
line 89 col 12: The expression in an assert must be of type 'bool'.
line 101 col 12: The expression in an assert must be of type 'bool'.
lib/src/style.dart failed with 2 errors:
line 84 col 14: The expression in an assert must be of type 'bool'.
line 119 col 14: The expression in an assert must be of type 'bool'.
Support Dart 2 in
The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.
Package is too old.
The package was released more than two years ago.
Fix additional 13 files with analysis or formatting issues.
Additional issues in the following files:
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*, it usually means that the author is still experimenting with the general direction of the API.
The description is too long.
Search engines will display only the first part of the description. Try to keep it under 180 characters.
Maintain an example.
Create a short demo in the
example/ directory to show how to use this package. Common file name patterns include:
example.dart or you could also use