Skip to content

iTEEECH/stack_avatar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stack avatar

Summary

  • 🚀 Platforms
  • 📃 Description
  • ⚙️ Setup
  • 💻 Use case

Platforms

Android iOS Web

Description

This package provides a set of circular avatar stacks, with an optional counter to indicate the total number of avatars or users.

Setup

Add in this file pubspec.yaml.

  validator:
    git:
      url: [email protected]:iTEEECH/stack_avatar.git
      ref: main

Use case

Import

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'),
        ],
      ),
    ),
  ],
);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages