Committed by
GitHub
Merge pull request #1174 from obadajasm/master
Fix Expected value of SkDeletable, but got one of type Null
Showing
1 changed file
with
3 additions
and
0 deletions
@@ -357,6 +357,9 @@ Set either a message or messageText"""); | @@ -357,6 +357,9 @@ Set either a message or messageText"""); | ||
357 | future: _boxHeightCompleter.future, | 357 | future: _boxHeightCompleter.future, |
358 | builder: (context, snapshot) { | 358 | builder: (context, snapshot) { |
359 | if (snapshot.hasData) { | 359 | if (snapshot.hasData) { |
360 | + if (widget.barBlur == 0) { | ||
361 | + return _emptyWidget; | ||
362 | + } | ||
360 | return ClipRRect( | 363 | return ClipRRect( |
361 | borderRadius: BorderRadius.circular(widget.borderRadius), | 364 | borderRadius: BorderRadius.circular(widget.borderRadius), |
362 | child: BackdropFilter( | 365 | child: BackdropFilter( |
-
Please register or login to post a comment