Pravatar.random constructor

const Pravatar.random({
  1. Key? key,
  2. BoxFit fit = BoxFit.cover,
  3. Alignment alignment = Alignment.center,
})

Display a a random placholder avatar, different each time it is loaded.

Implementation

const Pravatar.random({
  Key? key,
  this.fit = BoxFit.cover,
  this.alignment = Alignment.center,
})  : imageId = null,
      uniqueId = null,
      super(
        key: key,
      );