FAvatarStyle.inherit constructor
FAvatarStyle.inherit({
- required FColors colors,
- required FTypography typography,
Creates a FAvatarStyle that inherits its properties.
Implementation
FAvatarStyle.inherit({required FColors colors, required FTypography typography})
: this(
backgroundColor: colors.muted,
foregroundColor: colors.mutedForeground,
textStyle: typography.base.copyWith(color: colors.mutedForeground, height: 0),
);