FAvatarStyle.inherit constructor
FAvatarStyle.inherit({
- required FColorScheme colorScheme,
- required FTypography typography,
Creates a FCardStyle that inherits its properties from colorScheme
and typography
.
Implementation
FAvatarStyle.inherit({required FColorScheme colorScheme, required FTypography typography})
: backgroundColor = colorScheme.muted,
foregroundColor = colorScheme.mutedForeground,
fadeInDuration = const Duration(milliseconds: 500),
text = typography.base.copyWith(
color: colorScheme.mutedForeground,
height: 0,
);