markdownQuiz top-level property
Map<String, dynamic>
markdownQuiz
getter/setter pair
Implementation
Map<String, dynamic> markdownQuiz = {
"quizType": "COMPANY",
"currentStepIndex": 0,
//"quizTitle": "Le titre du quiz",
"quizSubTitle": shortQuizDescription,
"theme": {
"appBackgroundImage": "https://cdn.prod.website-files.com/64f764c103612a0779cf1fa2/664643606e90baf2c1d4a702_blog-cover.jpg",
"maxQuizHeight": 800,
"maxQuizWidth": 660,
},
"stepperDisplayMode": "top",
"steps": [
{
"stepKey": "stepOne",
"stepLabel": "Première étape du formulaire",
"questions": [
{
"questionKey": "whatFor_step_1",
"type": "markdown",
"params": {
"description": whatFor,
},
},
{
"questionKey": "howto_step_1",
"type": "markdown",
"params": {
"description": howToFillUp,
}
},
]
},
{
"stepKey": "stepTwo",
"stepLabel": "Testeur de style Markdown",
"questions": [
{
"questionKey": "Liste des interpretation markdown",
"label": "Comment remplir",
"type": "markdown",
"params": {
"description": markdownStylesheetTesting,
}
},
]
},
]
};