@@ -74,11 +74,11 @@ class ShowCaseWidget extends StatefulWidget {
74
74
/// - `hideFloatingActionWidgetForShowcase` : Hides a
75
75
/// [globalFloatingActionWidget] for the provided showcase keys.
76
76
@Deprecated (
77
- 'This will be removed in v5 .0.0. '
77
+ 'This will be removed in v6 .0.0. '
78
78
'Please use `ShowcaseView.register()` instead' ,
79
79
)
80
80
const ShowCaseWidget ({
81
- @Deprecated ('This will be removed in v5 .0.0.' ) required this .builder,
81
+ @Deprecated ('This will be removed in v6 .0.0.' ) required this .builder,
82
82
this .onFinish,
83
83
this .onStart,
84
84
this .onComplete,
@@ -100,7 +100,7 @@ class ShowCaseWidget extends StatefulWidget {
100
100
super .key,
101
101
});
102
102
103
- @Deprecated ('This will be removed in v5 .0.0.' )
103
+ @Deprecated ('This will be removed in v6 .0.0.' )
104
104
final WidgetBuilder builder;
105
105
106
106
/// Triggered when all the showcases are completed.
@@ -182,15 +182,15 @@ class ShowCaseWidget extends StatefulWidget {
182
182
final List <GlobalKey > hideFloatingActionWidgetForShowcase;
183
183
184
184
@Deprecated (
185
- 'This will be removed in v5 .0.0. please use '
185
+ 'This will be removed in v6 .0.0. please use '
186
186
'`ShowcaseView.get().getCurrentActiveShowcaseKey` instead' ,
187
187
)
188
188
static GlobalKey ? activeTargetWidget (BuildContext context) => context
189
189
.findAncestorStateOfType <ShowCaseWidgetState >()
190
190
? .getCurrentActiveShowcaseKey;
191
191
192
192
@Deprecated (
193
- 'This will be removed in v5 .0.0. please use '
193
+ 'This will be removed in v6 .0.0. please use '
194
194
'`ShowcaseView.get()` instead' ,
195
195
)
196
196
static ShowCaseWidgetState of (BuildContext context) {
@@ -256,7 +256,7 @@ class ShowCaseWidgetState extends State<ShowCaseWidget> {
256
256
257
257
@override
258
258
Widget build (BuildContext context) => Builder (
259
- // Will be removed in v5 .0.0.
259
+ // Will be removed in v6 .0.0.
260
260
//ignore: deprecated_member_use_from_same_package
261
261
builder: widget.builder,
262
262
);
@@ -276,7 +276,7 @@ class ShowCaseWidgetState extends State<ShowCaseWidget> {
276
276
///
277
277
/// Refer this issue https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/issues/378
278
278
@Deprecated (
279
- 'This will be removed in v5 .0.0. please use '
279
+ 'This will be removed in v6 .0.0. please use '
280
280
'`ShowcaseView.get().startShowCase` instead' ,
281
281
)
282
282
void startShowCase (
@@ -289,7 +289,7 @@ class ShowCaseWidgetState extends State<ShowCaseWidget> {
289
289
/// Completes showcase of given key and starts next one
290
290
/// otherwise will finish the entire showcase view
291
291
@Deprecated (
292
- 'This will be removed in v5 .0.0. please use '
292
+ 'This will be removed in v6 .0.0. please use '
293
293
'`ShowcaseView.get().completed` instead' ,
294
294
)
295
295
void completed (GlobalKey ? key) => _showcaseView.completed (key);
@@ -301,30 +301,30 @@ class ShowCaseWidgetState extends State<ShowCaseWidget> {
301
301
/// move to next showcase. This is default behaviour for
302
302
/// [TooltipDefaultActionType.next]
303
303
@Deprecated (
304
- 'This will be removed in v5 .0.0. please use '
304
+ 'This will be removed in v6 .0.0. please use '
305
305
'`ShowcaseView.get().next` instead' ,
306
306
)
307
307
void next ({bool force = false }) => _showcaseView.next (force: force);
308
308
309
309
/// Completes current active showcase and starts previous one
310
310
/// otherwise will finish the entire showcase view
311
311
@Deprecated (
312
- 'This will be removed in v5 .0.0. please use '
312
+ 'This will be removed in v6 .0.0. please use '
313
313
'`ShowcaseView.get().previous` instead' ,
314
314
)
315
315
void previous () => _showcaseView.previous ();
316
316
317
317
/// Dismiss entire showcase view
318
318
@Deprecated (
319
- 'This will be removed in v5 .0.0. please use '
319
+ 'This will be removed in v6 .0.0. please use '
320
320
'`ShowcaseView.get().dismiss` instead' ,
321
321
)
322
322
void dismiss () => _showcaseView.dismiss ();
323
323
324
324
/// Disables the [ShowCaseWidget.globalFloatingActionWidget] for the
325
325
/// provided keys.
326
326
@Deprecated (
327
- 'This will be removed in v5 .0.0. please use '
327
+ 'This will be removed in v6 .0.0. please use '
328
328
'`ShowcaseView.get().hideFloatingActionWidgetForKeys` instead' ,
329
329
)
330
330
void hideFloatingActionWidgetForKeys (List <GlobalKey > updatedList) {
@@ -333,86 +333,86 @@ class ShowCaseWidgetState extends State<ShowCaseWidget> {
333
333
334
334
// Forward property accessors to ShowcaseManager
335
335
@Deprecated (
336
- 'This will be removed in v5 .0.0. please use '
336
+ 'This will be removed in v6 .0.0. please use '
337
337
'`ShowcaseView.get().autoPlay` instead' ,
338
338
)
339
339
bool get autoPlay => _showcaseView.autoPlay;
340
340
341
341
@Deprecated (
342
- 'This will be removed in v5 .0.0. please use '
342
+ 'This will be removed in v6 .0.0. please use '
343
343
'`ShowcaseView.get().disableMovingAnimation` instead' ,
344
344
)
345
345
bool get disableMovingAnimation => _showcaseView.disableMovingAnimation;
346
346
347
347
@Deprecated (
348
- 'This will be removed in v5 .0.0. please use '
348
+ 'This will be removed in v6 .0.0. please use '
349
349
'`ShowcaseView.get().disableScaleAnimation` instead' ,
350
350
)
351
351
bool get disableScaleAnimation => _showcaseView.disableScaleAnimation;
352
352
353
353
@Deprecated (
354
- 'This will be removed in v5 .0.0. please use '
354
+ 'This will be removed in v6 .0.0. please use '
355
355
'`ShowcaseView.get().autoPlayDelay` instead' ,
356
356
)
357
357
Duration get autoPlayDelay => _showcaseView.autoPlayDelay;
358
358
359
359
@Deprecated (
360
- 'This will be removed in v5 .0.0. please use '
360
+ 'This will be removed in v6 .0.0. please use '
361
361
'`ShowcaseView.get().enableAutoPlayLock` instead' ,
362
362
)
363
363
bool get enableAutoPlayLock => _showcaseView.enableAutoPlayLock;
364
364
365
365
@Deprecated (
366
- 'This will be removed in v5 .0.0. please use '
366
+ 'This will be removed in v6 .0.0. please use '
367
367
'`ShowcaseView.get().enableAutoScroll` instead' ,
368
368
)
369
369
bool get enableAutoScroll => _showcaseView.enableAutoScroll;
370
370
371
371
@Deprecated (
372
- 'This will be removed in v5 .0.0. please use '
372
+ 'This will be removed in v6 .0.0. please use '
373
373
'`ShowcaseView.get().disableBarrierInteraction` instead' ,
374
374
)
375
375
bool get disableBarrierInteraction => _showcaseView.disableBarrierInteraction;
376
376
377
377
@Deprecated (
378
- 'This will be removed in v5 .0.0. please use '
378
+ 'This will be removed in v6 .0.0. please use '
379
379
'`ShowcaseView.get().enableShowcase` instead' ,
380
380
)
381
381
bool get enableShowcase => _showcaseView.enableShowcase;
382
382
383
383
@Deprecated (
384
- 'This will be removed in v5 .0.0. please use '
384
+ 'This will be removed in v6 .0.0. please use '
385
385
'`ShowcaseView.get().isShowCaseCompleted` instead' ,
386
386
)
387
387
bool get isShowCaseCompleted => _showcaseView.isShowCaseCompleted;
388
388
389
389
@Deprecated (
390
- 'This will be removed in v5 .0.0. please use '
390
+ 'This will be removed in v6 .0.0. please use '
391
391
'`ShowcaseView.get().scrollDuration` instead' ,
392
392
)
393
393
Duration get scrollDuration => _showcaseView.scrollDuration;
394
394
395
395
@Deprecated (
396
- 'This will be removed in v5 .0.0. please use '
396
+ 'This will be removed in v6 .0.0. please use '
397
397
'`ShowcaseView.get().blurValue` instead' ,
398
398
)
399
399
double get blurValue => _showcaseView.blurValue;
400
400
401
401
@Deprecated (
402
- 'This will be removed in v5 .0.0. please use '
402
+ 'This will be removed in v6 .0.0. please use '
403
403
'`ShowcaseView.get().getCurrentActiveShowcaseKey` instead' ,
404
404
)
405
405
GlobalKey ? get getCurrentActiveShowcaseKey =>
406
406
_showcaseView.getActiveShowcaseKey;
407
407
408
408
@Deprecated (
409
- 'This will be removed in v5 .0.0. please use '
409
+ 'This will be removed in v6 .0.0. please use '
410
410
'`ShowcaseView.get().isShowcaseRunning` instead' ,
411
411
)
412
412
bool get isShowcaseRunning => _showcaseView.isShowcaseRunning;
413
413
414
414
@Deprecated (
415
- 'This will be removed in v5 .0.0. please use '
415
+ 'This will be removed in v6 .0.0. please use '
416
416
'`ShowcaseView.get().hiddenFloatingActionKeys` instead' ,
417
417
)
418
418
List <GlobalKey > get hiddenFloatingActionKeys =>
0 commit comments