v2.0.0flutter_profile_picture
自动使用随机名字和背景色生成头像。如果您有图片,也可以提供。默认颜色基于名字首字母。
51喜欢 1340近 30 天下载130Pub 分数
AndroidiOSWebmacOSWindowsLinux
自动使用随机名字和背景色生成头像。如果您有头像,也可以提供。默认颜色基于名字的首字母::fire: :fire: :fire: https://adityadees.github.io/flutter_profile_picture/
以下为英文项目原文快照,最新内容请访问 GitHub。
Automatically generate profile picture with random first name and background color. But you can still provide pictures if you have them. As the default color, based on the name of the first letter.
ProfilePicture(
name: 'Dees',
radius: 31,
fontsize: 21,
);
ProfilePicture(
name: 'Aditya Dharmawan Saputra',
radius: 31,
fontsize: 21,
);
ProfilePicture(
name: 'Aditya Dharmawan Saputra',
radius: 31,
fontsize: 21,
random: true,
);
ProfilePicture(
name: 'Aditya Dharmawan Saputra',
radius: 31,
fontsize: 21,
count: 3,
);
ProfilePicture(
name: '',
radius: 31,
fontsize: 21,
);
ProfilePicture(
name: 'Aditya Dharmawan Saputra',
radius: 31,
fontsize: 21,
img: 'https://avatars.githubusercontent.com/u/37553901?v=4',
);
ProfilePicture(
name: 'Aditya Dharmawan Saputra',
role: '',
radius: 31,
fontsize: 21,
tooltip: true,
);
ProfilePicture(
name: 'Aditya Dharmawan Saputra',
role: 'ADMINISTRATOR',
radius: 31,
fontsize: 21,
tooltip: true,
);
ProfilePicture(
name: 'Aditya Dharmawan Saputra',
role: 'ADMINISTRATOR',
radius: 31,
fontsize: 21,
tooltip: true,
img: 'https://avatars.githubusercontent.com/u/37553901?v=4',
);
依赖清单 2 项
{"sdk":"flutter"}{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗