Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Nick Wright
2021-04-03 14:38:11 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d6a8894d9dd24d065756dbccacbc919c260c5a7b
d6a8894d
1 parent
a2b935ce
Changed deviceLocale getter to return Locale?
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/get_navigation/src/extension_navigation.dart
lib/get_navigation/src/extension_navigation.dart
View file @
d6a8894
...
...
@@ -1104,7 +1104,7 @@ you can only use widgets and widget functions here''';
/// The window to which this binding is bound.
ui
.
SingletonFlutterWindow
get
window
=>
ui
.
window
;
Locale
get
deviceLocale
=>
ui
.
window
.
locale
;
Locale
?
get
deviceLocale
=>
ui
.
window
.
locale
;
///The number of device pixels for each logical pixel.
double
get
pixelRatio
=>
ui
.
window
.
devicePixelRatio
;
...
...
Please
register
or
login
to post a comment