flutter_color_avatar

Give a color related to an avatar name.

Getting Started

Add this to your package's pubspec.yaml file:

dependencies: 
 flutter_color_avatar: ^0.0.1  

You just need to call the function getColorFromName to retrieve a material color corresponding
to a text, username, email, etc...

import 'package:flutter_color_avatar/flutter_color_avatar.dart';
  
ColorAvatar.getColorFromName("Google");  

Libraries

flutter_color_avatar