Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
vusters committed Dec 29, 2023
2 parents 223c898 + ac918d4 commit 412d104
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/framework/view/page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,10 @@ class PageState extends State<Page>
LinearGradient? backgroundGradient = Utils.getBackgroundGradient(
widget._pageModel.pageStyles?['backgroundGradient']);
Color? backgroundColor =
Utils.getColor(widget._pageModel.pageStyles?['backgroundColor']);
Utils.getColor(
_scopeManager.dataContext
.eval(widget._pageModel.pageStyles?['backgroundColor'])
);
// if we have a background image, set the background color to transparent
// since our image is outside the Scaffold
dynamic evaluatedBackgroundImg = _scopeManager.dataContext
Expand Down

0 comments on commit 412d104

Please sign in to comment.