katana_platform_info 3.2.1
katana_platform_info: ^3.2.1 copied to clipboard
This allows platform-specific information, such as folder paths and package details, to be retrieved in a testable format.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add katana_platform_infoThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
katana_platform_info: ^3.2.1Alternatively, 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:katana_platform_info/katana_platform_info.dart';