alphatar 0.1.0 icon indicating copy to clipboard operation
alphatar: ^0.1.0 copied to clipboard

Create an avatar with the initials of your text.

Alphatar #

License

Create an avatar with the initials of your text.

Screenshot #

Installation #

In the dependencies: section of your pubspec.yaml, add the following line:

alphatar: <latest_version>

Usage #

You can use it very easily. For example:

class Example extends StatelessWidget {
  const Example({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      alignment: Alignment.center,
      child: Alphatar(
        initials: "Alice",
        backgroundColor: Colors.purple[900],
        onTap: () => print("Awesome!"),
      ),
    );
  }
}

License #

MIT

3
likes
110
pub points
0%
popularity

Publisher

unverified uploader

Create an avatar with the initials of your text.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on alphatar