Back to Flutter Rust Bridge

Creating the libraries

website/docs/manual/integrate/07-library/02-creating-libraries/index.md

2.12.0487 B
Original Source

import V1Notice from '@site/docs/snippets/_v1-notice.mdx';

Creating the libraries

<V1Notice /> In this section, we will create our Dart-only base library and then a Flutter wrapper library built on top of the Dart-only base.

The Flutter library can add additional Flutter-specific functionality to your Dart-only base; however, it does not need to. The main purpose of the Flutter wrapper is to bundle the Rust binaries alongside your Dart library and to re-export the Dart library.