Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
Update deprecated `ShowCaseWidget` removal version.
- Improvement [#505](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/pull/505) -
Fixed example app to run in flutter version `v3.32.5`.
- Breaking [#541](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/pull/541) -
Removed height and width from `Showcase.withWidget` constructor, as it is not required anymore.
- Improvement [#555](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/issues/555)
Expose `onFinish` callback via ShowCaseView.get.
- Fixed [#564](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/issues/564) -
Apply textScaler to tooltip widgets.

Expand Down
2 changes: 0 additions & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -599,8 +599,6 @@ class MailTile extends StatelessWidget {
if (showCaseDetail)
Showcase.withWidget(
key: showCaseKey!,
height: 50,
width: 150,
tooltipActionConfig: const TooltipActionConfig(
alignment: MainAxisAlignment.spaceBetween,
crossAxisAlignment: CrossAxisAlignment.center,
Expand Down
14 changes: 1 addition & 13 deletions lib/src/showcase/showcase.dart
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,7 @@ class Showcase extends StatefulWidget {
this.enableAutoScroll,
this.floatingActionWidget,
this.targetTooltipGap = 10,
}) : height = null,
width = null,
container = null,
}) : container = null,
showcaseKey = key,
assert(
targetTooltipGap >= 0,
Expand Down Expand Up @@ -152,8 +150,6 @@ class Showcase extends StatefulWidget {
/// ```dart
/// Showcase.withWidget(
/// key: _customKey,
/// height: 80,
/// width: 140,
/// container: Column(
/// children: [
/// Text(
Expand All @@ -172,8 +168,6 @@ class Showcase extends StatefulWidget {
/// ```
const Showcase.withWidget({
required GlobalKey key,
required this.height,
required this.width,
required this.container,
required this.child,
this.floatingActionWidget,
Expand Down Expand Up @@ -336,12 +330,6 @@ class Showcase extends StatefulWidget {
/// Default to `true`
final bool showArrow;

/// Height of [container]
final double? height;

/// Width of [container]
final double? width;

/// The duration of time the bouncing animation of tooltip should last.
///
/// Default to [Duration(milliseconds: 2000)]
Expand Down