dashatar_flutter 0.1.2 copy "dashatar_flutter: ^0.1.2" to clipboard
dashatar_flutter: ^0.1.2 copied to clipboard

A Flutter package that provides an API for using Dash avatars (Dashatars) in Flutter projects.

Dashatar Flutter Icon #

platform pub package pub points documentation interactive demo last updated by

A Flutter package that provides an API for using Dash avatars (Dashatars) in Flutter projects.

Try it out in the demo app.

Features #

  • Generate Dash avatars (Dashatars)
  • Choose from different dashatar types (Silhouette, Basic, Designer, Developer, Manager)
  • Use random or specific dashatar variants
  • Customize size and background color
  • Simple and flexible API

Usage #

Basic Usage #

import 'package:dashatar_flutter/dashatar_flutter.dart';

// Basic usage - create a Developer dashatar
Dashatar(
  index: 5, // Variant index (0-48)
  type: DashatarType.developer,
)

// Create a random dashatar
Dashatar.random()

// Create a basic dashatar
Dashatar.basic()

// Create a silhouette
Dashatar.silhouette()

Customization #

// Custom size and background color
Dashatar(
  index: 12,
  type: DashatarType.manager,
  size: 100,
  backgroundColor: Colors.blue.shade100,
)

Attribution #

The dashatar images were originally created by the Persian Flutter community:

3
likes
160
points
41
downloads
screenshot

Publisher

verified publisherintuosol.com

Weekly Downloads

A Flutter package that provides an API for using Dash avatars (Dashatars) in Flutter projects.

Repository (GitHub)

Topics

#dash #avatar #dashatar #assets

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on dashatar_flutter