AvatarTile constructor

const AvatarTile({
  1. Key? key,
  2. double height = kAvatarTileHeight,
  3. Widget? avatar,
  4. TextStyle? titleTextStyle,
  5. Widget? title,
  6. Widget? subtitle,
  7. TextStyle? subtitleTextStyle,
  8. Widget? description,
  9. TextStyle? descriptionTextStyle,
  10. Color? backgroundColor,
  11. BoxBorder? border,
  12. BorderRadiusGeometry? borderRadius,
  13. Color? foregroundColor,
  14. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 16),
})

Tiles for displaying profiles and other overviews.

You can set a large image for avatar.

You can set large text for title and small text or tags for subtitle.

The description field allows you to set a description.

プロフィールなどの概要を表示するためのタイル。

avatarに大きな画像を設定することができます。

titleには大きな文字を、subtitleには小さな文字やタグを設定することができます。

descriptionには説明文を設定することができます。

Implementation

const AvatarTile({
  super.key,
  this.height = kAvatarTileHeight,
  this.avatar,
  this.titleTextStyle,
  this.title,
  this.subtitle,
  this.subtitleTextStyle,
  this.description,
  this.descriptionTextStyle,
  this.backgroundColor,
  this.border,
  this.borderRadius,
  this.foregroundColor,
  this.padding = const EdgeInsets.symmetric(horizontal: 16),
});