Skip to main content

ikonym 0.1.0 copy "ikonym: ^0.1.0" to clipboard
ikonym: ^0.1.0 copied to clipboard

Deterministic geometric SVG avatars generated from a stable identifier.

Ikonym for Dart #

Deterministic geometric SVG avatars generated from a stable identifier. The package bundles all five Ikonym definitions and renders them with DiceBear Core.

dart pub add ikonym
import 'package:ikonym/ikonym.dart';

void main() {
  final svg = createAvatar(
    'account-4821',
    density: 7,
    size: 128,
    title: 'Account avatar',
  );
  print(svg);
}

Use createAvatarDataUri for an SVG data URI or styleJson(density) to access the portable DiceBear definition. Supported densities are 3, 5, 7, 9, and 12. See the integration guide.

Regenerate the bundled style data from the repository root with:

dart run dart/tool/generate_styles.dart
0
likes
150
points
76
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Deterministic geometric SVG avatars generated from a stable identifier.

Homepage
Repository (GitHub)
View/report issues

Topics

#avatar #dicebear #identicon #svg

License

MIT (license)

Dependencies

dicebear_core

More

Packages that depend on ikonym