<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>numanuma08</author_name>
  <author_url>https://blog.hatena.ne.jp/numanuma08/</author_url>
  <blog_title>covelline blog</blog_title>
  <blog_url>https://blog.covelline.com/</blog_url>
  <categories>
    <anon>flutter</anon>
  </categories>
  <description>こんにちは、 id:numanuma08 です 🍛 flutterでタブを含むUIを実装しているとき、タブ中に配置したScrollViewやListViewのスクロール位置がタブを変更したタイミングでリセットされる現象は有名な現象だと思います。少しググるだけで解決策は出てきますが、最もスマートかつflutterが公式に推奨している方法はPageStorageを使う方法です。 api.flutter.dev 実装方法も簡単でScrollViewやListViewのコンストラクターで一意のPageStorageKeyを与えるだけです。この記事ではなぜPageStorageKeyを設定するとスクロー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.covelline.com%2Fentry%2F2020%2F12%2F14%2F142801&quot; title=&quot; タブ切り替え時でもListViewのスクロール位置を保持したい - covelline blog&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>https://cdn-ak.f.st-hatena.com/images/fotolife/n/numanuma08/20201214/20201214142654.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-12-14 14:28:01</published>
  <title> タブ切り替え時でもListViewのスクロール位置を保持したい</title>
  <type>rich</type>
  <url>https://blog.covelline.com/entry/2020/12/14/142801</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
