setTutorialProperties method
void
setTutorialProperties(
- String titleLeadingAction,
- String descriptionLeadingAction,
- String titleOrientationAction,
- String descriptionOrientationAction,
- String titleScreenAction,
- String descriptionScreen, {
- String? titleThemeAction,
- String? descriptionThemeAction,
- String? titleDropdownAction,
- String? descriptionDropdownAction,
Implementation
void setTutorialProperties(
String titleLeadingAction,
String descriptionLeadingAction,
String titleOrientationAction,
String descriptionOrientationAction,
String titleScreenAction,
String descriptionScreen,{
String? titleThemeAction,
String? descriptionThemeAction,
String? titleDropdownAction,
String? descriptionDropdownAction
}
) {
// SET PROPERTIES THAT ARE NOT NULLABLE
issueTitle = titleLeadingAction;
issueDescription = descriptionLeadingAction;
orientationTitle = titleOrientationAction;
orientationDescription = descriptionOrientationAction;
screenTitle = titleScreenAction;
screenDescription = descriptionScreen;
// SET NULLABLE PROPERTIES
themeTitle = titleThemeAction ?? themeTitle;
themeDescription = descriptionThemeAction ?? themeDescription;
dropDownTitle = titleDropdownAction ?? dropDownTitle;
dropDownDescription = descriptionDropdownAction ?? dropDownDescription;
}