video_compress_kit_android 0.0.2 copy "video_compress_kit_android: ^0.0.2" to clipboard
video_compress_kit_android: ^0.0.2 copied to clipboard

PlatformAndroid

Android implementation of the video_compress_kit plugin using MediaCodec.

example/lib/main.dart

// Minimal example for video_compress_kit_android.
// See the top-level example/ app for a full demo.

import 'package:flutter/material.dart';
import 'package:video_compress_kit_android/video_compress_kit_android.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    // Verify the plugin can be instantiated.
    final _ = VideoCompressKitAndroid();
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('video_compress_kit_android')),
        body: const Center(child: Text('Plugin registered successfully.')),
      ),
    );
  }
}