Skip to main content

tourAddPost method

void tourAddPost ()

This function show the tutorial to add Post in the organization.

params: None

returns: None

Implementation

void tourAddPost() {
targets.clear();
targets.add(
focusTarget(
keyBNPost,
'keyBNPost',
'This is the Create post tab here you can add post to the current selected organization',
isCircle: true,
align: ContentAlign.top,
),
);
showTutorial(
onFinish: () {
onTabTapped(currentPageIndex + 1);
if (!tourComplete && !tourSkipped) {
tourChat();
}
},
onClickTarget: (TargetFocus a) {},
);
}