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: README.md
+26-10Lines changed: 26 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,40 @@
1
1
[](https://github.com/Iconica-Development)[](URL TO GITHUB ACTIONS) [](https://github.com/tenhobi/effective_dart)
2
2
3
-
Short description of what your package is, why you created it. What issues it fixes and how it works. Also mention the available platforms
3
+
# Introduction Widget
4
+
Flutter Introduction Widget for showing a list of introduction pages on a single scrollable page or horizontal pageview.
4
5
5
-
## Setup
6
+
If nothing is provided a few default pages are shown with a simple description of the package.
6
7
7
-
What setup steps are neccesarry and why>
8
8
9
-
<details>
10
-
<summary>PLATFORM</summary>
11
-
12
-
specific platform steps
9
+
Supports all Flutter platforms.
13
10
14
-
</details>
11
+
## Usage
12
+
13
+
To use this package, add `flutter_introduction_widget` as a [dependency in your pubspec.yaml file](https://flutter.dev/docs/development/platform-integration/platform-channels).
15
14
16
15
## How to use
17
16
18
-
How can we use the package descibe the most common ways with examples in
17
+
Simple way to use the introduction widget:
19
18
```dart
20
-
codeblocks
19
+
Introduction(
20
+
introductionSettings: const IntroductionSettings(
21
+
buttonMode: IntroductionScreenButtonMode.Text,
22
+
showSkipButton: true,
23
+
showFinishButton: true,
24
+
),
25
+
onComplete: () {
26
+
debugPrint('done!');
27
+
},
28
+
pages: [
29
+
IntroductionPage(title: 'Page1', text: 'hello'),
30
+
IntroductionPage(title: 'Page2', text: 'world'),
31
+
IntroductionPage(title: 'Page3', text: 'text'),
32
+
],
33
+
),
21
34
```
35
+
### Example
36
+
37
+
See [Example Code](example/lib/main.dart) for more info.
0 commit comments