FAvatarStyle.inherit constructor

FAvatarStyle.inherit({
  1. required FColors colors,
  2. 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),
    );