random_avatar library

Functions

randomAvatar(String string, {bool trBackground = false, Key? key, double? width, double? height, BoxFit fit = BoxFit.contain, AlignmentGeometry alignment = Alignment.center, bool matchTextDirection = false, bool allowDrawingOutsideViewBox = false, WidgetBuilder? placeholderBuilder, Color? color, BlendMode colorBlendMode = BlendMode.srcIn, String? semanticsLabel, bool excludeFromSemantics = false, Clip clipBehavior = Clip.hardEdge, bool cacheColorFilter = false, SvgTheme? theme}) Widget
randomAvatarString(String string, {bool trBackground = false}) String
required String string, random string to use as a start of svg generation bool trBackground = true; Set background color to transparent