File tree Expand file tree Collapse file tree 3 files changed +6
-16
lines changed Expand file tree Collapse file tree 3 files changed +6
-16
lines changed Original file line number Diff line number Diff line change 40
40
- Deprecate [ #531 ] ( https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/pull/531 ) -
41
41
Update deprecated ` ShowCaseWidget ` removal version.
42
42
- Improvement [ #505 ] ( https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/pull/505 ) -
43
- Fixed example app to run in flutter version ` v3.32.5 ` .
43
+ Fixed example app to run in flutter version ` v3.32.5 ` .
44
+ - Breaking [ #541 ] ( https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/pull/541 ) -
45
+ Removed height and width from ` Showcase.withWidget ` constructor, as it is not required anymore.
46
+ - Improvement [ #555 ] ( https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/issues/555 )
47
+ Expose ` onFinish ` callback via ShowCaseView.get.
44
48
45
49
## [ 4.0.1]
46
50
- Fixed [ #493 ] ( https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/issues/493 ) - ShowCase.withWidget not showing issue
Original file line number Diff line number Diff line change @@ -599,8 +599,6 @@ class MailTile extends StatelessWidget {
599
599
if (showCaseDetail)
600
600
Showcase .withWidget (
601
601
key: showCaseKey! ,
602
- height: 50 ,
603
- width: 150 ,
604
602
tooltipActionConfig: const TooltipActionConfig (
605
603
alignment: MainAxisAlignment .spaceBetween,
606
604
crossAxisAlignment: CrossAxisAlignment .center,
Original file line number Diff line number Diff line change @@ -112,9 +112,7 @@ class Showcase extends StatefulWidget {
112
112
this .enableAutoScroll,
113
113
this .floatingActionWidget,
114
114
this .targetTooltipGap = 10 ,
115
- }) : height = null ,
116
- width = null ,
117
- container = null ,
115
+ }) : container = null ,
118
116
showcaseKey = key,
119
117
assert (
120
118
targetTooltipGap >= 0 ,
@@ -152,8 +150,6 @@ class Showcase extends StatefulWidget {
152
150
/// ```dart
153
151
/// Showcase.withWidget(
154
152
/// key: _customKey,
155
- /// height: 80,
156
- /// width: 140,
157
153
/// container: Column(
158
154
/// children: [
159
155
/// Text(
@@ -172,8 +168,6 @@ class Showcase extends StatefulWidget {
172
168
/// ```
173
169
const Showcase .withWidget ({
174
170
required GlobalKey key,
175
- required this .height,
176
- required this .width,
177
171
required this .container,
178
172
required this .child,
179
173
this .floatingActionWidget,
@@ -336,12 +330,6 @@ class Showcase extends StatefulWidget {
336
330
/// Default to `true`
337
331
final bool showArrow;
338
332
339
- /// Height of [container]
340
- final double ? height;
341
-
342
- /// Width of [container]
343
- final double ? width;
344
-
345
333
/// The duration of time the bouncing animation of tooltip should last.
346
334
///
347
335
/// Default to [Duration(milliseconds: 2000)]
You can’t perform that action at this time.
0 commit comments