AgNameInitialWidget constructor

const AgNameInitialWidget({
  1. Key? key,
  2. required String name,
  3. double height = 48.0,
  4. double width = 48.0,
  5. int maxInitials = 1,
  6. Color? backgroundColor,
  7. List<Color>? backgroundColors,
  8. double? textSize,
  9. bool isCircle = false,
})

Implementation

const AgNameInitialWidget({
  super.key,
  required this.name,
  this.height = 48.0,
  this.width = 48.0,
  this.maxInitials = 1,
  this.backgroundColor,
  this.backgroundColors,
  this.textSize,
  this.isCircle = false,
});