PeepAvatar.fromPeep constructor
PeepAvatar.fromPeep({})
Creates a new instance of PeepAvatar based on a Peep.
Implementation
PeepAvatar.fromPeep({
Key? key,
required Peep peep,
Color? backgroundColor,
Clip? clipBehavior,
double? size,
}) : this.fromAtoms(
key: key,
face: peep.face,
head: peep.head,
accessory: peep.accessory,
facialHair: peep.facialHair,
backgroundColor: backgroundColor,
clipBehavior: clipBehavior,
size: size,
);