FAvatarStyle.inherit constructor

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