You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 5, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: lib/src/config/introduction.dart
+22-1Lines changed: 22 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,18 @@ enum IntroductionDisplayMode {
21
21
multiPageHorizontal
22
22
}
23
23
24
+
enumIntroductionControlMode {
25
+
previousNextButton,
26
+
singleButton,
27
+
}
28
+
29
+
enumIntroductionButtonType {
30
+
next,
31
+
previous,
32
+
finish,
33
+
skip,
34
+
}
35
+
24
36
classIntroductionPage {
25
37
finalWidget? title;
26
38
finalWidget? text;
@@ -98,9 +110,17 @@ class IntroductionOptions {
98
110
///
99
111
finalIntroductionDisplayMode displayMode;
100
112
113
+
/// When [IntroductionDisplayMode.multiPageHorizontal] is selected multiple controlMode can be selected.
114
+
/// [IntroductionControlMode.previousNextButton] shows two buttons at the bottom of the screen to return or proceed. The skip button is placed at the top left of the screen.
115
+
/// [IntroductionControlMode.singleButton] contains one button at the bottom of the screen to proceed. Underneath is clickable text to skip if the current page is the first page. If the current page is any different it return to the previous screen.
116
+
///
117
+
finalIntroductionControlMode controlMode;
118
+
101
119
/// A builder that can be used to replace the default text buttons when
102
120
/// [IntroductionScreenButtonMode.text] is provided to [buttonMode]
0 commit comments