extension_enabler 1.1.0 copy "extension_enabler: ^1.1.0" to clipboard
extension_enabler: ^1.1.0 copied to clipboard

A command line tool that enables flutter web app as chromium based extension with simple commands.

1.1.0 #

  • Dart 3 support: SDK constraint widened to >=3.0.0 <4.0.0.
  • Upgraded dependencies: args ^2.7.0, html ^0.15.6, path ^1.9.1, lints ^5.0.0.
  • Fixed the build command for modern Flutter: it now runs flutter build web --csp --no-web-resources-cdn. The old --web-renderer html flag was removed in Flutter 3.29, so it is gone; CanvasKit is now bundled locally instead of loaded from a CDN, which keeps it within the extension CSP.
  • The generated manifest CSP now allows 'wasm-unsafe-eval' so the CanvasKit/Skwasm renderer can run under Manifest V3.
  • The build command now waits for flutter build to finish, streams its output live, and exits non-zero when the build fails (previously it returned immediately and swallowed errors).
  • enable and update accept --name, --description, --version, --width, and --height flags. Supplying all of them runs the command with no prompts, which makes it usable in scripts and CI. On invalid input the command now exits non-zero.
  • Fix: update now keeps the current window height/width when you press enter, instead of silently resetting them to 200px.
  • Fix: window dimensions read back by update now retain their px unit, so the written CSS stays valid.
  • Fix: writing the manifest no longer mutates the shared default config (it used a live reference and encoded the wrong map).
  • Added a test suite (dart test) and a GitHub Actions CI workflow (format, analyze, test, publish dry-run).
  • Added dartdoc comments across the public API and turned on the always_declare_return_types and type_annotate_public_apis lints, giving every public method an explicit return type. The package now scores 160/160 on pub.dev.
  • Added repository and issue_tracker to pubspec.

1.0.5 #

  • bug fixes and minor doc updates
23
likes
160
points
157
downloads

Documentation

API reference

Publisher

verified publishernarayann.dev

Weekly Downloads

A command line tool that enables flutter web app as chromium based extension with simple commands.

Repository (GitHub)
View/report issues

License

MPL-2.0 (license)

Dependencies

args, html, path

More

Packages that depend on extension_enabler