flutter_face_pile 0.0.1
flutter_face_pile: ^0.0.1 copied to clipboard
A group of overlapping round avatars are called face piles.
Flutter Face Pile #
A group of overlapping round avatars are called face piles.
this packages was originated from @SuperDeclarative!
[screenshots/flutter-face-pile-screenshot.png]
Getting started #
Add this to your package's pubspec.yaml file:
...
dependencies:
flutter_face_pile: ^0.0.1
Now in your Dart code, you can use:
import 'package:flutter_face_pile/flutter_face_pile.dart';
Usage #
import 'package:flutter_face_pile/flutter_face_pile.dart';
FacePile(
faces: [
FaceHolder(
id: '1',
name: 'user 1',
avatar: NetworkImage('https://i.pravatar.cc/300?img=1'),
),
FaceHolder(
id: '2',
name: 'user 2',
avatar: NetworkImage('https://i.pravatar.cc/300?img=2'),
),
FaceHolder(
id: '3',
name: 'user 3',
avatar: NetworkImage('https://i.pravatar.cc/300?img=3'),
),
],
faceSize: 50,
facePercentOverlap: .4,
borderColor: Colors.white,
),
Contribute #
Contributions are welcome, if you have a issue or any problem with this packages please file issues, or make pull-requests.