pikvn_client 0.0.4
pikvn_client: ^0.0.4 copied to clipboard

A client to upload your photos (local file, remote url..etc) to https://2.pik.vn. Supports resize images on the fly

example/pikvn_client_example.dart

import 'dart:io';

import 'package:pikvn_client/pikvn_client.dart';

void main() async {
  final client = PikVnClient();
  final imageFile = File('test/data/test.jpeg');
  final uploadedUrl = await client.uploadImage(imageFile);

  print('Uploaded url: $uploadedUrl');
  //Uploaded: https://2.pik.vn/20214bfff7a7-9a44-46f8-950f-56e1577f6f56.jpg
}
1
likes
110
pub points
1%
popularity

A client to upload your photos (local file, remote url..etc) to https://2.pik.vn. Supports resize images on the fly

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

dio, image

More

Packages that depend on pikvn_client