From 3a8c112a98e9cf5d1f954f6fb4e8598524d4cdd9 Mon Sep 17 00:00:00 2001 From: ujas-m-simformsolutions <76939001+ujas-m-simformsolutions@users.noreply.github.com> Date: Fri, 10 Mar 2023 14:19:13 +0530 Subject: [PATCH] fix: :bug: Flutter inspector makes screen grey (#353) --- CHANGELOG.md | 3 +++ lib/src/showcase.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 20ad2393..d9b24d5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## [2.0.2] +- Fixed [#335](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/issues/335) - Fixed flutter inspector makes screen grey + ## [2.0.1] - Feature [#306](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/pull/306) - Added support of manual vertical tooltip position. - Fixed [#318](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/issues/318) - Add support for enable/disable showcase globally. diff --git a/lib/src/showcase.dart b/lib/src/showcase.dart index 11ad65b1..c7df3e05 100644 --- a/lib/src/showcase.dart +++ b/lib/src/showcase.dart @@ -467,7 +467,7 @@ class _ShowcaseState extends State { // provided blur is less than 0. blur = kIsWeb && blur < 0 ? 0 : blur; - if (!_showShowCase) return const SizedBox.shrink(); + if (!_showShowCase) return const Offstage(); return Stack( children: [ diff --git a/pubspec.yaml b/pubspec.yaml index 6f8a013e..885a6157 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: showcaseview description: A Flutter package to Showcase/Highlight widgets step by step. -version: 2.0.1 +version: 2.0.2 homepage: https://github.com/simformsolutions/flutter_showcaseview issue_tracker: https://github.com/simformsolutions/flutter_showcaseview/issues