FAvatarStyleDelta.delta constructor
const
FAvatarStyleDelta.delta({
- Color? backgroundColor,
- Color? foregroundColor,
- TextStyleDelta? textStyle,
- Duration? fadeInDuration,
Creates a partial modification of a FAvatarStyle.
Parameters
- FAvatarStyle.backgroundColor - The fallback's background color.
- FAvatarStyle.foregroundColor - The fallback's color.
- FAvatarStyle.textStyle - The text style for the fallback text.
- FAvatarStyle.fadeInDuration - Duration for the transition animation.
Implementation
const factory FAvatarStyleDelta.delta({
Color? backgroundColor,
Color? foregroundColor,
TextStyleDelta? textStyle,
Duration? fadeInDuration,
}) = _FAvatarStyleDelta;