user_profile_avatar
Ein einfaches Widget, das ein rundes Profilbild anzeigt und während des Ladens der Bildes einen nativen kreisförmigen Fortschrittsindikator anzeigt.
Ein einfaches Widget, das ein rundes Profilbild anzeigt, wobei das Bild aus dem Netzwerk abgerufen wird und während des Ladens einen kreisförmigen Fortschrittsindikator anzeigt. Außerdem kann eine Benachrichtigungsbubble angezeigt werden.
Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.
A simple widget that display round profile picture where the picture is fetched from network and displays circular progress indicator whilst the image is being loaded. Also, has the ability to display notification bubble.
UserProfileAvatar(
avatarUrl: 'https://picsum.photos/id/237/5000/5000',
onAvatarTap: () {
print('Avatar Tapped..');
},
notificationCount: 10,
notificationBubbleTextStyle: TextStyle(
fontSize: 30,
color: Colors.white,
fontWeight: FontWeight.bold,
),
avatarSplashColor: Colors.purple,
radius: 100,
isActivityIndicatorSmall: false,
avatarBorderData: AvatarBorderData(
borderColor: Colors.white,
borderWidth: 5.0,
),
)
onAvatarTap
Use this to perform any action when the avatar gets tapped.
notificationCount
Pass an int to display the notification bubble. 99+ gets displayed if notification count was larger than 100.
notificationBubbleTextStyle
Used to style the notification count, if null then the default one will be applied.
avatarSplashColor
Splash color when user taps on the avatar.
radius
Use this to size the avatar.
isActivityIndicatorSmall
use this to display small/large circular progress indicator (native) when image is loading, default is true.
Abhängigkeiten 3 Einträge
{"sdk":"flutter"}^3.4.0{"sdk":"flutter"}Nach Anwendungsfall filtern, Aktivität vergleichen und vor der Nutzung das Originalprojekt prüfen.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗