native_log_plus 0.0.2
native_log_plus: ^0.0.2 copied to clipboard
调用原生日志函数
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add native_log_plusThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
native_log_plus: ^0.0.2Alternatively, 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:native_log_plus/native_log.dart';
import 'package:native_log_plus/native_log_bindings_generated.dart';