assets 0.0.2 copy "assets: ^0.0.2" to clipboard
assets: ^0.0.2 copied to clipboard

Placeholder for a Dart asset bundle system.

example/assets_example.dart

// Copyright (c) 2025, the Dart project authors.  Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'package:assets/assets.dart';

Future<void> main() async {
  final awesome = const StringAsset('testKey');
  print('awesome: ${await awesome.load()}');
}
2
likes
140
points
172
downloads

Publisher

unverified uploader

Weekly Downloads

Placeholder for a Dart asset bundle system.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

http, meta

More

Packages that depend on assets