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, String? semanticsLabel, bool excludeFromSemantics = false, ColorFilter? colorFilter, SvgTheme theme = const SvgTheme()})
→ 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