OudsTopBarActionConfig.avatar constructor
- required OudsTopAppBarAvatarConfig avatarConfig,
- VoidCallback? onActionPressed,
- String? contentDescription,
Creates a configuration for an avatar action.
This is only applied on Material and will be ignored on iOS.
Implementation
factory OudsTopBarActionConfig.avatar({
required OudsTopAppBarAvatarConfig avatarConfig,
VoidCallback? onActionPressed,
String? contentDescription,
}) {
return OudsTopBarActionConfig._(
type: OudsTopBarActionType.avatar,
avatarConfig: avatarConfig,
onActionPressed: onActionPressed,
contentDescription: contentDescription,
);
}