auro_avatar 0.1.1 copy "auro_avatar: ^0.1.1" to clipboard
auro_avatar: ^0.1.1 copied to clipboard

A flutter plugin to generate an avatar with name initials from a full-name string.

Avatar with name initials generated #

Build Status pub package

A flutter plugin to generate an avatar with name initials from a full-name string.

How to import #

Add this to your package's pubspec.yaml file:

dependencies:
  auro_avatar: "^0.1.0"

Add it to your dart file:

import 'package:auro_avatar/auro_avatar.dart';

Usage #

The auro_avatar can be used directly as:

InitialNameAvatar - Circle avatar

new InitialNameAvatar(
    'John Doe',
    circleAvatar: true,
    borderColor: Colors.grey,
    borderSize: 4.0,
    backgroundColor: Colors.blue,
    foregroundColor: Colors.white,
    padding: 20.0,
    textSize: 30.0,
),

InitialNameAvatar - Square avatar

new InitialNameAvatar(
    'John Doe',
    circleAvatar: false,
    ...
),
2
likes
40
pub points
0%
popularity

Publisher

unverified uploader

A flutter plugin to generate an avatar with name initials from a full-name string.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, flutter_test

More

Packages that depend on auro_avatar