init(title:icon:)
Creates a label with a custom title and icon.
Declaration
init(@ViewBuilder title: () -> Title, @ViewBuilder icon: () -> Icon)Creates a label with a custom title and icon.
init(@ViewBuilder title: () -> Title, @ViewBuilder icon: () -> Icon)