WelcomeScreen

public struct WelcomeScreen
extension WelcomeScreen: View
extension WelcomeScreen: _ViewEmptyChecking

WelcomeScreen is used to display a welcome/launch screen to the application for onboarding. The screen mainly displays the application name, instructions on how to start the activation process and an option to trigger the demo mode of the application.

Usage

WelcomeScreen(title: {
    Text(titleStr)
}, description: {
    Text(descriptionStr)
}, icon: {
    Image("oski")
}, footnote: {
    Text("Want to explore?")
}, action: {
    FioriButton { _ in
        //
    } label: { _ in
        Text(primaryButtonTitleStr)
            .multilineTextAlignment(.center)
    }
}, secondaryAction: {
    //
}, illustratedMessage: {
    //
}, headlineImage: {
    Image("SAPLogo")
}, inputText: self.$email, legalText: {
    Text("legal text")
}, isLegalAgreementRequired: isLegalAgreementRequired, showsIllustratedMessage: self.showsIllustratedMessage, state: state, options: options, isDemoAvailable: isDemoAvailable, footerText: {
   if showTermsOfService, type != .link, type != .customLogo {
       Text("footer text")
   }
})