Getting Started
Simply run:
flutter pub add rearch flutter_rearch
And (this part is important), wrap your application widget
with a RearchBootstrapper
widget in your main.dart
.
main.dart modifications
void main() {
runApp(RearchBootstrapper(
child: MaterialApp(...),
));
}
Simply run:
dart pub add rearch
And then just create one container for your application.
Creating a capsule container
void main() {
final container = CapsuleContainer();
// Use the container.
}
Simply run:
cargo add rearch rearch-effects
And then just create one container for your application.
Creating a container
use rearch::*;
use rearch_effects as effects;
fn main() {
let container = Container::new();
// Use the container.
}
Now you're all set to follow the rest of the docs!