flutter_profile_picture 2.0.0 copy "flutter_profile_picture: ^2.0.0" to clipboard
flutter_profile_picture: ^2.0.0 copied to clipboard

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.

FLUTTER PROFILE PICTURE #

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.

Flutter Test Build GitHub Pages License: MIT pub package GitHub popularity version

bandicam 2021-09-22 20-35-48-079 (online-video-cutter com)

Style #

Default Style #

image

ProfilePicture(
    name: 'Dees',
    radius: 31,
    fontsize: 21,
);

ProfilePicture(
    name: 'Aditya Dharmawan Saputra',
    radius: 31,
    fontsize: 21,
);
copied to clipboard

Random Color #

image

ProfilePicture(
    name: 'Aditya Dharmawan Saputra',
    radius: 31,
    fontsize: 21,
    random: true,
);
copied to clipboard

Max letter #

image


ProfilePicture(
    name: 'Aditya Dharmawan Saputra',
    radius: 31,
    fontsize: 21,
    count: 3,
);
copied to clipboard

Empty Name / Blank #

image

ProfilePicture(
    name: '',
    radius: 31,
    fontsize: 21,
);
copied to clipboard

With Images #

image

ProfilePicture(
    name: 'Aditya Dharmawan Saputra',
    radius: 31,
    fontsize: 21,
    img: 'https://avatars.githubusercontent.com/u/37553901?v=4',
);
copied to clipboard

Tooltips without role #

image

ProfilePicture(
    name: 'Aditya Dharmawan Saputra',
    role: '',
    radius: 31,
    fontsize: 21,
    tooltip: true,
);
copied to clipboard

Tooltips with role #

image

ProfilePicture(
    name: 'Aditya Dharmawan Saputra',
    role: 'ADMINISTRATOR',
    radius: 31,
    fontsize: 21,
    tooltip: true,
);
copied to clipboard

Tooltips with role and images #

image

ProfilePicture(
    name: 'Aditya Dharmawan Saputra',
    role: 'ADMINISTRATOR',
    radius: 31,
    fontsize: 21,
    tooltip: true,
    img: 'https://avatars.githubusercontent.com/u/37553901?v=4',
);
copied to clipboard
49
likes
130
points
3.2k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.16 - 2025.03.31

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.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_profile_picture