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
To show multiple showcase at the same time provide same key to showcase.
139
+
Note: auto scroll to showcase will not work in case of the multi-showcase and we will use property
140
+
of first initialized showcase for common things like barrier tap and colors.
141
+
142
+
```dart
143
+
GlobalKey _one = GlobalKey();
144
+
...
145
+
146
+
Showcase(
147
+
key: _one,
148
+
title: 'Showcase one',
149
+
description: 'Click here to see menu options',
150
+
child: Icon(
151
+
Icons.menu,
152
+
color: Colors.black45,
153
+
),
154
+
),
155
+
156
+
Showcase(
157
+
key: _one,
158
+
title: 'Showcase two',
159
+
description: 'Click here to see menu options',
160
+
child: Icon(
161
+
Icons.menu,
162
+
color: Colors.black45,
163
+
),
164
+
),
165
+
```
166
+
128
167
## Functions of `ShowCaseWidget.of(context)`:
129
168
130
169
| Function Name | Description |
@@ -257,7 +296,7 @@ So, If you want to make a scroll view that contains less number of children widg
257
296
258
297
If using SingleChildScrollView is not an option, then you can assign a ScrollController to that scrollview and manually scroll to the position where showcase widget gets rendered. You can add that code in onStart method of `ShowCaseWidget`.
259
298
260
-
Example,
299
+
Example:
261
300
262
301
```dart
263
302
// This controller will be assigned to respected sctollview.
0 commit comments