fledge_assets 0.2.0 copy "fledge_assets: ^0.2.0" to clipboard
fledge_assets: ^0.2.0 copied to clipboard

Ref-counted asset management for Fledge — handles, per-type asset storage, and optional native hot reload.

fledge_assets #

Ref-counted asset management for the Fledge ECS game framework.

pub package

Installation #

dependencies:
  fledge_assets: ^0.2.0

Quick Start #

import 'package:fledge_assets/fledge_assets.dart';

// Register an asset you already have in memory.
final assets = Assets<Texture>();
final handle = assets.add(myTexture);

// Or load one via a loader implementation.
final handle2 = assets.load('assets/sprites/player.png', FileTextureLoader());

// Share and release.
final shared = handle.clone();
handle.drop();
// Entry still alive — `shared` holds a reference.
shared.drop();
// Entry dropped, memory freed.

Documentation #

See the Fledge documentation site for guides, API reference, and advanced usage.

License #

Apache 2.0 - See LICENSE for details.

0
likes
0
points
--
downloads

Publisher

verified publisherfledge-framework.dev

Ref-counted asset management for Fledge — handles, per-type asset storage, and optional native hot reload.

Homepage
Repository (GitHub)
View/report issues

Topics

#ecs #game-engine #assets #flutter-games

License

unknown (license)

Dependencies

fledge_ecs, meta, watcher

More

Packages that depend on fledge_assets