shelf_flutter_asset 0.0.4 copy "shelf_flutter_asset: ^0.0.4" to clipboard
shelf_flutter_asset: ^0.0.4 copied to clipboard

A simple handler for the Shelf ecosystem to serve files from Flutter assets.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add shelf_flutter_asset

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  shelf_flutter_asset: ^0.0.4

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:shelf_flutter_asset/shelf_flutter_asset.dart';
1
likes
160
pub points
62%
popularity

Publisher

verified publisherreight.io

A simple handler for the Shelf ecosystem to serve files from Flutter assets.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, mime, path, shelf

More

Packages that depend on shelf_flutter_asset