Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Commit 86e7e0b

Browse files
fix(libtokyo_flutter): make usable with flutter 3.22.0
1 parent 822d363 commit 86e7e0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/libtokyo_flutter/lib/widgets/scaffold.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Scaffold extends material.StatelessWidget implements libtokyo.Scaffold<mat
4545
extendBody: extendBody,
4646
body: material.Scaffold(
4747
appBar: appBar,
48-
backgroundColor: backgroundColor != null ? convertColor(backgroundColor!) : material.Theme.of(context).backgroundColor,
48+
backgroundColor: backgroundColor != null ? convertColor(backgroundColor!) : material.Theme.of(context).colorScheme.background,
4949
body: body,
5050
bottomNavigationBar: bottomNavigationBar,
5151
bottomSheet: bottomSheet,

0 commit comments

Comments
 (0)