flutter_bundler 0.0.1 copy "flutter_bundler: ^0.0.1" to clipboard
flutter_bundler: ^0.0.1 copied to clipboard

Secure flutter bundling package

Flutter Bundler #

Flutter Bundler is a library to read generated bundle using Bundler in Flutter.

Usage

import 'package:flutter_bundler/flutter_bundler.dart';
Bundler.initFromByteData("16CharSecureKey!",await rootBundle.load('bundle/bundle.bundle'));
copied to clipboard

or

import 'package:flutter_bundler/flutter_bundler.dart';
Bundler.init("16CharSecureKey!",File("bundle/bundle.bundle"));
copied to clipboard

after initializing the bundle you can use it like this:

Bundler.instance.readAssetBytesSync("assets/images/profile.png");
copied to clipboard

it also supports async methods:

await Bundler.instance.readAssetBytes("assets/images/profile.png");
copied to clipboard

and virtual files like this:

await Bundler.instance.readAssetFile("assets/images/profile.png");
copied to clipboard
3
likes
105
points
20
downloads

Publisher

verified publisherkoorosh.me

Weekly Downloads

2024.07.05 - 2025.01.17

Secure flutter bundling package

Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

archive, encrypt, flutter

More

Packages that depend on flutter_bundler