flutter_hk 1.0.2
flutter_hk: ^1.0.2 copied to clipboard
Flutter plugin to play hikvision camera with 8000 protocol. It used hikvision native library, *.so for java and *.a for ios.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_hk
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_hk: ^1.0.2
copied to clipboard
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:flutter_hk/hk_controller.dart';
import 'package:flutter_hk/hk_player.dart';
import 'package:flutter_hk/hk_player_controller.dart';
copied to clipboard