AgNameInitialWidget constructor

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

Implementation

AgNameInitialWidget({
  Key? key,
  required this.name,
  this.height = 48.0,
  this.width = 48.0,
  this.maxInitials = 1,
  this.backgroundColor,
  this.textSize,
  this.textColor = Colors.white,
  this.isCircle = false,
}) : super(key: key);