platform_interface 1.0.4 copy "platform_interface: ^1.0.4" to clipboard
platform_interface: ^1.0.4 copied to clipboard

A Flutter package that can be used to extract the locales that are currently defined on a device with the current locale set as the first in the list.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add platform_interface

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  platform_interface: ^1.0.4

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:platform_interface/platform_interface.dart';
1
likes
30
pub points
45%
popularity

Publisher

unverified uploader

A Flutter package that can be used to extract the locales that are currently defined on a device with the current locale set as the first in the list.

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

flutter, pigeon

More

Packages that depend on platform_interface