record_windows 0.6.1 copy "record_windows: ^0.6.1" to clipboard
record_windows: ^0.6.1 copied to clipboard

unlistedoutdated

Windows specific implementation for record package called by record_platform_interface.

example/lib/main.dart

import 'dart:io';

import 'package:path/path.dart' as p;
import 'package:record_windows/record_windows.dart';

Future<void> main() async {
  final record = RecordWindows();

  // final d = await record.listInputDevices();

  await record.start(
    path: p.join(File(Platform.resolvedExecutable).parent.path, 'rec.m4a'),
  );
  await Future.delayed(const Duration(seconds: 3));

  await record.pause();
  await Future.delayed(const Duration(seconds: 1));

  await record.resume();
  await Future.delayed(const Duration(seconds: 1));

  await record.stop();
}
1
likes
0
points
148k
downloads

Publisher

verified publisheropenapi4j.org

Weekly Downloads

Windows specific implementation for record package called by record_platform_interface.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, path, record_platform_interface

More

Packages that depend on record_windows