Skip to content
Discussion options

You must be logged in to vote

Great question! Rinf is specifically for Rust-Dart interop—exposing Rust functions to Dart. For app state (theme, language, etc.), it's better to use a dedicated state manager like Bloc or Riverpod. Those tools give you predictable lifecycle, dependency injection, and rebuilds. Mixing Rinf for app state works but you lose the ecosystem and type safety that Bloc/Riverpod provide. The typical pattern: Rinf handles DBus calls and heavy computations; Bloc/Riverpod manages UI state and configuration. They can coexist nicely—just keep responsibilities separate.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Seom1177
Comment options

@temeddix
Comment options

Answer selected by Seom1177
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants