AvatarTile constructor
const
AvatarTile({
- Key? key,
- double height = kAvatarTileHeight,
- Widget? avatar,
- TextStyle? titleTextStyle,
- Widget? title,
- Widget? subtitle,
- TextStyle? subtitleTextStyle,
- Widget? description,
- TextStyle? descriptionTextStyle,
- Color? backgroundColor,
- BoxBorder? border,
- BorderRadiusGeometry? borderRadius,
- Color? foregroundColor,
- 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),
});