<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hisaichi5518</author_name>
  <author_url>https://blog.hatena.ne.jp/hisaichi5518/</author_url>
  <blog_title>パルカワ2</blog_title>
  <blog_url>https://hisaichi5518.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>前回この記事でRiverpodを使ったMVUアーキテクチャについて書いた。 hisaichi5518.hatenablog.jp が、いくつか問題があるなと気づいた。 UIに関する処理を書く場所がない 複数のStateを同時に扱う場合が考慮されていない（ビジネスロジックを書く場所がない） なので、ViewModelを挟むのがよいのではと考えた。 // lib/screens/home/_home_view_model.dart import 'package:flutter_riverpod/flutter_riverpod.dart'; import '../../providers/pro…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhisaichi5518.hatenablog.jp%2Fentry%2F2021%2F09%2F01%2F000056&quot; title=&quot;Riverpod を使ったアーキテクチャについて考える - パルカワ2&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-09-01 00:00:56</published>
  <title>Riverpod を使ったアーキテクチャについて考える</title>
  <type>rich</type>
  <url>https://hisaichi5518.hatenablog.jp/entry/2021/09/01/000056</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
