cv_native_client

Creator: coderz1093

Last updated:

0 purchases

cv_native_client Image
cv_native_client Images

Languages

Categories

Add to Cart

Description:

cv native client

CV Native Client #
Flutter plugin for CV Native Client.
This plugin allows you to access Native API's of platform.
Usage #
To use this plugin, add cv_native_client as a dependency in your pubspec.yaml file.
Installation #
Add this to your package's pubspec.yaml file:
dependencies:
cv_native_client: ^1.0.1
copied to clipboard
Example #
import 'package:cv_native_client/cv_native_client.dart';

// Get platform version
String platformVersion = await CvNativeClient.getPlatformVersion();

// Get clipboard data mime types
final List<CvClipboardMimeType> mimeTypes = await CvNativeClient.getClipboardDataMimeTypes();
log('Clipboard mime types: $mimeTypes');

// Get clipboard Data
final CvClipboardData? clipboardData = await CvNativeClient.getClipboardData();
log('Clipboard text: ${clipboardData?.plainText}');
log('Clipboard html: ${clipboardData?.htmlText}');

// Set clipboard Data
await CvNativeClient.setClipboardData(CvClipboardData(plainText: 'Hello World!', htmlText: '<b>Hello World!</b>'));
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.