Showing
1 changed file
with
1 additions
and
1 deletions
@@ -1104,7 +1104,7 @@ you can only use widgets and widget functions here'''; | @@ -1104,7 +1104,7 @@ you can only use widgets and widget functions here'''; | ||
1104 | /// The window to which this binding is bound. | 1104 | /// The window to which this binding is bound. |
1105 | ui.SingletonFlutterWindow get window => ui.window; | 1105 | ui.SingletonFlutterWindow get window => ui.window; |
1106 | 1106 | ||
1107 | - Locale get deviceLocale => ui.window.locale; | 1107 | + Locale? get deviceLocale => ui.window.locale; |
1108 | 1108 | ||
1109 | ///The number of device pixels for each logical pixel. | 1109 | ///The number of device pixels for each logical pixel. |
1110 | double get pixelRatio => ui.window.devicePixelRatio; | 1110 | double get pixelRatio => ui.window.devicePixelRatio; |
-
Please register or login to post a comment