/flutter2js_packages

Flutter packages that have been modified for Flutter2js

Primary LanguageDartMIT LicenseMIT

What's this?

This repository contains Flutter packages that have been patched for Flutter2JS, which makes Flutter apps run in the browser.

Learn more at github.com/ethanblake4/flutter2js.

List of packages

Flutter SDK

  • dart:ui (original, docs)
    • Because Pub doesn't allow overriding "dart:something" packages, it's exposed as "package:flutter/ui.dart".
  • package:flutter (original, docs)
  • package:flutter_localization (original, docs)
  • package:flutter_test (original, docs)

Description of modifications

Flutter SDK

  • All of original flutter packages (January 2018).
  • We added a modified version of dart:ui from "github.com/flutter/engine". Many classes in dart:ui such as Canvas delegate implementation to Flutter2js or expose previously private/external fields.
  • Eliminated usage of language features not supported by dart2js: