os_info_plugin 0.0.1 copy "os_info_plugin: ^0.0.1" to clipboard
os_info_plugin: ^0.0.1 copied to clipboard

Simple flutter plugin to get OS version

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add os_info_plugin

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

dependencies:
  os_info_plugin: ^0.0.1

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:os_info_plugin/os_info_plugin.dart';
0
likes
130
pub points
31%
popularity

Publisher

unverified uploader

Simple flutter plugin to get OS version

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on os_info_plugin