extensions/generic/string_avatar library

Extension to treat String as image URL and build a CircleAvatar.

Example:

'https://example.com/a.png'.avatar(radius: 24, backgroundColor: Colors.blueGrey);

Extensions

KaeruAvatar on String
Extension to treat String as image URL and build a CircleAvatar.