Skip to content
Merged
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## [2.1.1]
- Fixed [#425](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/issues/425) - Unhandled breaking change in v2.1.0
- Fixed [#428](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/issues/428) - _ShowcaseState.recalculateRootWidgetSize null value

## [2.1.0]
- Feature [#420](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/pull/420) - Dart SDK Upgrade
Expand Down
1 change: 1 addition & 0 deletions lib/src/showcase.dart
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ class _ShowcaseState extends State<Showcase> {

void recalculateRootWidgetSize() {
ambiguate(WidgetsBinding.instance)?.addPostFrameCallback((_) {
if (!mounted) return;
final rootWidget =
context.findRootAncestorStateOfType<State<WidgetsApp>>();
rootRenderObject = rootWidget?.context.findRenderObject() as RenderBox?;
Expand Down