AvatarStyle constructor

const AvatarStyle({
  1. double? size,
  2. BoxShape? shape,
  3. EdgeInsetsGeometry? margin,
  4. Clip? clipBehavior,
  5. Color? shadowColor,
  6. double? elevation,
  7. TextStyle? foregroundStyle,
  8. Color? foregroundColor,
  9. double? foregroundOpacity,
  10. int? foregroundAlpha,
  11. double? foregroundSpacing,
  12. Color? backgroundColor,
  13. double? backgroundOpacity,
  14. int? backgroundAlpha,
  15. Color? borderColor,
  16. double? borderOpacity,
  17. int? borderAlpha,
  18. double? borderWidth,
  19. BorderRadius? borderRadius,
  20. BorderStyle? borderStyle,
})

Create a raw avatar's style

Implementation

const AvatarStyle({
  this.size,
  this.shape,
  this.margin,
  this.clipBehavior,
  this.shadowColor,
  this.elevation,
  this.foregroundStyle,
  this.foregroundColor,
  this.foregroundOpacity,
  this.foregroundAlpha,
  this.foregroundSpacing,
  this.backgroundColor,
  this.backgroundOpacity,
  this.backgroundAlpha,
  this.borderColor,
  this.borderOpacity,
  this.borderAlpha,
  this.borderWidth,
  this.borderRadius,
  this.borderStyle,
});