rxf 0.0.3 copy "rxf: ^0.0.3" to clipboard
rxf: ^0.0.3 copied to clipboard

Flutter runtime for the RXF SDK — Rust × Flutter × JS.

rxf #

Flutter runtime for the RXF SDK — build cross-platform apps with Rust, Flutter, and JavaScript.

Features #

  • Render UI components defined in JavaScript/JSX via a Flutter host
  • Bidirectional communication between Dart and Rust through rinf
  • Shadcn-style component library powered by shadcn_flutter
  • Hot-reload friendly development workflow via the rxf CLI

Getting started #

Add this package to your pubspec.yaml:

dependencies:
  rxf: ^0.0.2

This package is intended to be used together with the rxf CLI tool, which scaffolds the full project structure including the Rust hub.

Usage #

import 'package:flutter/material.dart';
import 'package:rxf/rxf.dart';
import 'package:rxf_shadcn/rxf_shadcn.dart';

Future<void> main() async {
  await RxfRuntime.initialize(plugins: [const RxfShadcnPlugin()]);
  runApp(const RxfRuntimeApp());
}

The CLI (rxf dev) manages the Flutter engine workspace and wires up the Rust side automatically.

Additional information #

0
likes
150
points
43
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter runtime for the RXF SDK — Rust × Flutter × JS.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter, meta, msgpack_dart, rinf, shadcn_flutter, stac, stac_core, tuple

More

Packages that depend on rxf