NxImage.avatar constructor

NxImage.avatar({
  1. ImageProvider<Object>? image,
  2. double size = 0,
  3. Color borderColor = Colors.transparent,
  4. double borderSize = 0,
})

Implementation

factory NxImage.avatar({
  ImageProvider? image,
  double size = 0,
  Color borderColor = Colors.transparent,
  double borderSize = 0
}) => NxImage(
  image: image,
  size: size,
  borderColor: borderColor,
  borderSize: borderSize,
  radius: 100,
);