Last updated:
0 purchases
auro avatar
Avatar with name initials generated #
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"
copied to clipboard
Add it to your dart file:
import 'package:auro_avatar/auro_avatar.dart';
copied to clipboard
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,
),
copied to clipboard
InitialNameAvatar - Square avatar
new InitialNameAvatar(
'John Doe',
circleAvatar: false,
...
),
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.