- 🚀 Platforms
- 📃 Description
- ⚙️ Setup
- 💻 Use case
| Android | iOS | Web |
|---|---|---|
| ✅ | ✅ | ✅ |
This package provides a set of circular avatar stacks, with an optional counter to indicate the total number of avatars or users.
Add in this file pubspec.yaml.
validator:
git:
url: git@github.com:iTEEECH/stack_avatar.git
ref: mainImport
import 'package:stack_avatar/stack_avatar.dart';Code
return Column(
children: <Widget>[
SizedBox(
height: 100.0,
child: StackAvatar(
counter: 3,
images: [
for (int index = 0; index <= 5; index++) NetworkImage('https://i.pravatar.cc/150?img=$index'),
],
),
),
],
);