File tree Expand file tree Collapse file tree 3 files changed +5
-15
lines changed Expand file tree Collapse file tree 3 files changed +5
-15
lines changed Original file line number Diff line number Diff line change 41
41
Update deprecated ` ShowCaseWidget ` removal version.
42
42
- Improvement [ #505 ] ( https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/pull/505 ) -
43
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
- Fixed [ #564 ] ( https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/issues/564 ) -
45
49
Apply textScaler to tooltip widgets.
46
50
- Improvement [ #570 ] ( https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/pull/570 ) -
Original file line number Diff line number Diff line change @@ -590,8 +590,6 @@ class MailTile extends StatelessWidget {
590
590
if (showCaseDetail)
591
591
Showcase .withWidget (
592
592
key: showCaseKey! ,
593
- height: 50 ,
594
- width: 150 ,
595
593
tooltipActionConfig: const TooltipActionConfig (
596
594
alignment: MainAxisAlignment .spaceBetween,
597
595
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
title != null || description != null ,
@@ -157,8 +155,6 @@ class Showcase extends StatefulWidget {
157
155
/// ```dart
158
156
/// Showcase.withWidget(
159
157
/// key: _customKey,
160
- /// height: 80,
161
- /// width: 140,
162
158
/// container: Column(
163
159
/// children: [
164
160
/// Text(
@@ -177,8 +173,6 @@ class Showcase extends StatefulWidget {
177
173
/// ```
178
174
const Showcase .withWidget ({
179
175
required GlobalKey key,
180
- required this .height,
181
- required this .width,
182
176
required this .container,
183
177
required this .child,
184
178
this .floatingActionWidget,
@@ -346,12 +340,6 @@ class Showcase extends StatefulWidget {
346
340
/// Default to `true`
347
341
final bool showArrow;
348
342
349
- /// Height of [container]
350
- final double ? height;
351
-
352
- /// Width of [container]
353
- final double ? width;
354
-
355
343
/// The duration of time the bouncing animation of tooltip should last.
356
344
///
357
345
/// Default to [Duration(milliseconds: 2000)]
You can’t perform that action at this time.
0 commit comments