flutter_advanced_avatar 0.0.2
flutter_advanced_avatar: ^0.0.2 copied to clipboard
An advanced avatar provides a rich API for widget customization that opens a new look and feel in your app.
flutter_advanced_avatar #
An advanced avatar provides a rich API for widget customization that opens a new look and feel in your app.
Advanced Avatar Theme LAF #
Advanced Avatar Light Theme | Advanced Avatar Dark Theme |
---|---|
[Advanced Drawer Open State] | [Advanced Drawer Closed State] |
AdvancedDrawer 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 |
statusAngle |
Status angle. | double | 135.0 |
decoration |
Avatar decoration. | BoxDecoration | color, shape |
foregroundDecoration |
Avatar foreground decoration. | BoxDecoration | |
child |
Child widget exclusively with [image]. | Widget | |
topLeft |
Top-left hosted widget. | Widget | |
topRight |
Top-right hosted widget. | Widget | |
bottomLeft |
Bottom-left hosted widget. | Widget | |
bottomRight |
Bottom-right hosted widget. | Widget |