Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alphatar

License Pub version

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

About

Alphabet Avatar for Flutter

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages