Rid Homepage: http://thlorenz.github.io/rid-site/
Rid makes it easy to integrate Rust with Flutter via simple annotations. It provides an easy to use yet memory safe API to your Rust code which our cubits can leverage.
Todo App and Source: http://thlorenz.github.io/rid-site/do...
Sponsor Rid Development: https://thlorenz.com/rid-site/docs/co...
As streamed on twitch: / thlorenz
Chapters:
00:01:00 Walking though App interaction with Rust in memory safe manner
00:15:21 Explaining the Counter Rid Starter App
00:19:33 Adding the Store, Todo, Message and Reply in Rust
00:24:54 Implementing Store create and update in Rust
00:29:59 Adding a way to retrieve todos via an export from Rust
00:32:55 Why we use Bloc/Cubit for State Management
00:33:46 Building the Todo Cubit providing a Rid Todo
00:39:13 Building the Todos Cubit accessing filtered Todos
00:42:26 Rendering Todos in our Flutter Application
00:45:57 Dealing with different Todo States via the Todo Cubit BlocBuilder
00:49:56 Rendering the Todos inside a ListView.builder
00:54:42 Todo by id from Rust via a rid export from Option to Nullable
00:59:34 Toggling Todo Completion via a rid message and rendering Toggle State
01:04:40 Adding Setting to auto expire completed Todos
01:08:44 Expiring completed Todos on separate Rust Thread
01:23:09 Adding Settings Cubit and the Menu Drawer
01:31:51 Demonstrating helpful Errors when mesage Reply times out
01:37:54 Rendering Todo Expiry updates via the Rid replyChannel
01:52:20 Removing Expired Todos from the ListView
01:57:37 Rid Memory Safe API vs Rid raw API
02:02:06 Dismissing a Todo via User Action
02:10:54 Why Rid doesn't loose State during Hot Restarts
02:11:56 Making TodosCubit aware of removed Todos
02:15:00 Wrapping Up