ApplicationHeaderButtonIcon.avatar constructor
const
ApplicationHeaderButtonIcon.avatar({
- Key? key,
- Widget? avatar,
- ImageProvider<
Object> ? avatarImage, - String? avatarImageUrl,
- String? avatarInitials,
- bool? isHovered,
- bool isSelected = false,
- BorderRadius? borderRadius,
- double size = 48.0,
- VoidCallback? onTap,
Factory for an avatar-based header action button.
Implementation
const ApplicationHeaderButtonIcon.avatar({
super.key,
this.avatar,
this.avatarImage,
this.avatarImageUrl,
this.avatarInitials,
this.isHovered,
this.isSelected = false,
this.borderRadius,
this.size = 48.0,
this.onTap,
}) : type = ApplicationHeaderButtonIconType.avatar,
icon = null,
iconWidget = null;