Skip to content

Commit

Permalink
Merge pull request #8 from gopalindians/gopalindians-patch-1
Browse files Browse the repository at this point in the history
Added code highlight
  • Loading branch information
magnatronus authored Dec 18, 2019
2 parents e5203ab + b8f28af commit 62485ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
Gets the device locale data, independent of the app locale settings.

# Usage
```
```dart
import 'package:devicelocale/devicelocale.dart';
```

then

```
```dart
List languages = await Devicelocale.preferredLanguages;
String locale = await Devicelocale.currentLocale;
```
Expand Down

0 comments on commit 62485ca

Please sign in to comment.