dart_tolk 1.1.0 copy "dart_tolk: ^1.1.0" to clipboard
dart_tolk: ^1.1.0 copied to clipboard

outdated

Dart bindings for the Tolk screen reader library.

example/dart_tolk_example.dart

/// A simple tolk example.
import 'package:dart_tolk/dart_tolk.dart';

Future<void> main() async {
  final t = Tolk.fromPath('tolk.dll');
  t.load();
  print('Loaded tolk.');
  t.trySapi(true);
  print('Screen reader: ${t.currentScreenReader}.');
  print('Screen reader ${t.hasBraille ? "has" : "does not have"} braille.');
  print('Screen reader ${t.hasSpeech ? "has" : "does not have"} speech.');
  t.output('Hello from Tolk, speaking through dart.');
  await Future.delayed(Duration(seconds: 2));
  t.unload();
  print('Unloaded Tolk.');
}
0
likes
0
points
40
downloads

Publisher

verified publisherbackstreets.site

Weekly Downloads

Dart bindings for the Tolk screen reader library.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ffi

More

Packages that depend on dart_tolk