iconable_avatar

Last updated:

0 purchases

iconable_avatar Image
iconable_avatar Images
Add to Cart

Description:

iconable avatar

iconable_avatar #
Flutter package to show an avatar with a clickable custom icon on the bottom. It's a customizable widget
Instalation #
Include iconable_avatar in your pubspec.yaml file:
dependencies:
flutter:
sdk: flutter
iconable_avatar: version
copied to clipboard

Usage #
IconableAvatar(
avatar: CircleAvatar(
backgroundColor: Colors.amberAccent,
radius: 50,
),
onIconTap: () {
print('Hi :)');
},
)
copied to clipboard
Constructor params #



Name
Description
Required
Default




avatar
Widget to use as avatar. You can use a CircleAvatar widget (make sure to pass a radius > 0), in otherwise, pass a custom radius
True



customRadius
Double value to indicate the avatar radius when using a not CircleAvatar widget
False



iconVisible
Bool value to indicate when to show or hide the bottom section
False
true


onIconTap
Callback use when tap on icon
False



icon
Icondata to show on the bottom section
False
Icons.camera_alt


iconColor
Color used as icon color
False
Colors.black


backgroundIconColor
Color used as background for bottom section
False
Color.fromRGBO(0, 0, 0, 0.3)



Development #
Want to contribute? Great!. Open a new PR here or a new issue here

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.