BaseUserName constructor

const BaseUserName({
  1. Key? key,
  2. String? title,
  3. required String name,
  4. Widget description = const SizedBox(),
  5. double titleFontSize = 16,
  6. double nameFontSize = 22,
  7. double avatarSize = 48,
  8. double avatarFontSize = 22,
  9. VoidCallback? onPressed,
})

Implementation

const BaseUserName({
  super.key,
  this.title,
  required this.name,
  this.description = const SizedBox(),
  this.titleFontSize = 16,
  this.nameFontSize = 22,
  this.avatarSize = 48,
  this.avatarFontSize = 22,
  this.onPressed,
});