[go: nahoru, domu]

Skip to content

A web framework for Dart based on Flutter's widget model

License

Notifications You must be signed in to change notification settings

mraleph/butterfly

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Butterfly

WARNING: This is highly experimental

DISCLAIMER: This is a personal project. This is not an official Google product.

What is Butterfly?

A web framework heavily inspired by Flutter.

The goal of the project is conceptual and language compatibility with Flutter. An explicit non-goal is "write once, run anywhere". Butterfly intentionally shares no code with Flutter. However, because of the same language and framework architecture, many of the skills, tools, libraries and platform-independent code can be shared with Flutter apps.

What's included?

  • A widget system almost identical to that of Flutter
  • Flutter-like development mode:
    • Debug code inside your IDE
    • Hot-reload!

Who is Butterfly for?

  • For app developers who build mobile apps using Flutter, and who also need to build web apps. Butterfly gives you a single conceptual model for writing your apps for both web and mobile, and allows the reuse of big chunks of code.
  • For Flutter developers who need to run parts of their app within a WebView.
  • For Dart developers who prefer functional-reactive programming style.

Plays nice with

  • Flutter - source of inspiration
  • Greencat - Redux for Dart
  • RxDart - reactive extensions for Dart
  • TODO: Custom elements - Butterfly does not include dart:html. If you need to drop down below the framework and access the DOM API directly, consider using custom elements.

About

A web framework for Dart based on Flutter's widget model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 99.8%
  • HTML 0.2%