Skip to content

Commit

Permalink
🐛 fix issue #182 fetch blur value from context only when _showShowCas…
Browse files Browse the repository at this point in the history
…e is true. (#191)
  • Loading branch information
ParthBaraiya authored Feb 25, 2022
1 parent 617e95a commit 248d1fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
## [1.1.5] - December 2, 2021 [Unreleased]
## [1.1.5] - February 24, 2022 [Unreleased]

- Fixed [#173](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/issues/173) - showArrow not working
- Fixed [#150](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/issues/150) - Add condition for determine state is active
- Fixed [#121](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/issues/121) - SlideTransition widget in tooltip_widget.dart is constantly rebuildung even after the showcasing is supposed to have stopped
- Fixed [#121](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/issues/121) - SlideTransition widget in tooltip_widget.dart is constantly rebuilding even after the showcasing is supposed to have stopped
- Fixed [#182](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/issues/182) - Not providing blurValue causes Exception: Please provide ShowCaseView context

## [1.1.4] - November 26, 2021

Expand Down
5 changes: 4 additions & 1 deletion lib/src/showcase.dart
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,10 @@ class _ShowcaseState extends State<Showcase> {
Rect rectBound,
Size screenSize,
) {
var blur = widget.blurValue ?? (ShowCaseWidget.of(context)?.blurValue) ?? 0;
var blur = 0.0;
if (_showShowCase) {
blur = widget.blurValue ?? (ShowCaseWidget.of(context)?.blurValue) ?? 0;
}

// Set blur to 0 if application is running on web and
// provided blur is less than 0.
Expand Down

0 comments on commit 248d1fe

Please sign in to comment.