File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description: An example application to demonstrate showcaseview package.
3
3
version : 1.0.0+1
4
4
5
5
environment :
6
- sdk : " >=2.18 .0 <4.0.0"
6
+ sdk : " >=3.0 .0 <4.0.0"
7
7
8
8
publish_to : none
9
9
@@ -21,4 +21,4 @@ dev_dependencies:
21
21
flutter :
22
22
uses-material-design : true
23
23
assets :
24
- - assets/
24
+ - assets/
Original file line number Diff line number Diff line change @@ -399,7 +399,7 @@ class ShowcaseController {
399
399
? config.tooltipActions!
400
400
: showcaseView.globalTooltipActions ?? [];
401
401
final actionDataLength = actionData.length;
402
- final lastAction = actionData.last ;
402
+ final lastAction = actionData.lastOrNull ;
403
403
final actionGap = _getTooltipActionConfig ().actionGap;
404
404
405
405
return [
Original file line number Diff line number Diff line change 22
22
import 'dart:async' ;
23
23
24
24
import 'package:flutter/material.dart' ;
25
- import 'package:showcaseview/src/utils/enum.dart' ;
26
25
27
26
import '../models/tooltip_action_button.dart' ;
28
27
import '../models/tooltip_action_config.dart' ;
29
28
import '../utils/constants.dart' ;
29
+ import '../utils/enum.dart' ;
30
30
import '../utils/overlay_manager.dart' ;
31
31
import '../widget/floating_action_widget.dart' ;
32
32
import 'showcase_controller.dart' ;
You can’t perform that action at this time.
0 commit comments