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})
: this(
backgroundColor: colorScheme.muted,
foregroundColor: colorScheme.mutedForeground,
textStyle: typography.base.copyWith(color: colorScheme.mutedForeground, height: 0),
);