Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alex-melnyk/flutter_advanced_avatar
https://pub.dev/packages/flutter_advanced_avatar
https://github.com/alex-melnyk/flutter_advanced_avatar
avatar flutter
Last synced: 10 days ago
JSON representation
https://pub.dev/packages/flutter_advanced_avatar
- Host: GitHub
- URL: https://github.com/alex-melnyk/flutter_advanced_avatar
- Owner: alex-melnyk
- License: bsd-3-clause
- Created: 2021-03-09T13:40:06.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-15T12:34:55.000Z (over 1 year ago)
- Last Synced: 2023-08-20T21:57:39.515Z (about 1 year ago)
- Topics: avatar, flutter
- Language: Dart
- Homepage: https://pub.dev/packages/flutter_advanced_avatar
- Size: 2.71 MB
- Stars: 14
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# flutter_advanced_avatar
An advanced avatar provides a rich API for widget customization that opens a new look and feel in your app.
![APP_ICON](./APP_ICON.png)
## Advanced Avatar Theme LAF
| Advanced Avatar Light Theme | Advanced Avatar Dark Theme |
|:-:|:-:|
| ![PREVIEW_LIGHT](./PREVIEW_LIGHT.png) | ![PREVIEW_DARK](./PREVIEW_DARK.png) |## AdvancedAvatar Parameters
| Parameter | Description | Type | Default |
|:-----------------------|:------------------------------------------------------|:---------------------|:----------------------------|
| `name` | Used for creating initials. (Regex split by r'\s+\/') | *String* ||
| `size` | Avatar size (width = height). | *double* | 80.0 |
| `image` | Avatar image source exclusively with [child]. | *ImageProvider* ||
| `margin` | Avatar margin. | *EdgeInsetsGeometry* ||
| `style` | Initials text style. | *TextStyle* ||
| `statusColor` | Status color. | *Color* ||
| `statusSize` | Status size. | *double* | 12.0 |
| `statusAlignment` | Status alignment. | *Alignment* | Alignment.topRight |
| `decoration` | Avatar decoration. | *BoxDecoration* | color, shape |
| `foregroundDecoration` | Avatar foreground decoration. | *BoxDecoration* ||
| `child` | Child widget exclusively with [image]. | *Widget* ||
| `children` | Hosted widgets. | *Widget* ||
| `animated` | Use AnimatedContainer | *bool* | false |
| `duration` | AnimatedContainer duration | *Duration* | Duration(milliseconds: 300) |
| `autoTextSize` | Auto name text size | *bool* | false |