rito_flutter 0.3.0 copy "rito_flutter: ^0.3.0" to clipboard
rito_flutter: ^0.3.0 copied to clipboard

Platform-neutral Flutter painting and native bindings for Rito reader artifacts.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:rito_flutter/rito_flutter_native.dart';

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

/// Minimal adapter build-smoke host: referencing the isolate gateway forces
/// the Rust Native Asset to compile and link for the target platform.
class RitoExampleApp extends StatelessWidget {
  const RitoExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: Text('rito_flutter adapter host: $RitoIsolateGateway'),
        ),
      ),
    );
  }
}
0
likes
140
points
166
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Platform-neutral Flutter painting and native bindings for Rito reader artifacts.

Repository (GitHub)
View/report issues
Contributing

Topics

#epub #reader #rendering #canvas #native-assets

License

AGPL-3.0 (license)

Dependencies

code_assets, crypto, ffi, flutter, hooks

More

Packages that depend on rito_flutter