Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geekswamp/alphatar
Alphabet Avatar for Flutter
https://github.com/geekswamp/alphatar
Last synced: about 1 hour ago
JSON representation
Alphabet Avatar for Flutter
- Host: GitHub
- URL: https://github.com/geekswamp/alphatar
- Owner: geekswamp
- License: mit
- Created: 2020-10-05T06:11:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-29T09:24:42.000Z (almost 4 years ago)
- Last Synced: 2025-01-17T20:53:01.029Z (3 days ago)
- Language: Dart
- Size: 32.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Alphatar
![License](https://img.shields.io/github/license/arifai/alphatar) ![Pub version](https://img.shields.io/pub/v/alphatar)
Create an avatar with the initials of your text.
## Screenshot
## Installation
In the `dependencies:` section of your `pubspec.yaml`, add the following line:
```yaml
alphatar:
```## Usage
You can use it very easily. For example:
```dart
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