Pravatar.uniqueId constructor
Pravatar.uniqueId(})
Display the placholder avatar associated to the given uniqueId
.
The avatar is guaranteed to be always the same as soon as the provided uniqueId
is the same.
Implementation
Pravatar.uniqueId(
String uniqueId, {
this.fit = BoxFit.cover,
this.alignment = Alignment.center,
}) :
// ignore: prefer_initializing_formals
uniqueId = uniqueId,
imageId = null,
super(
key: Key(uniqueId),
);