<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wannabe-jellyfish</author_name>
  <author_url>https://blog.hatena.ne.jp/wannabe-jellyfish/</author_url>
  <blog_title>くらげになりたい。</blog_title>
  <blog_url>https://memory-lovers.blog/</blog_url>
  <categories>
    <anon>Flutter</anon>
  </categories>
  <description>FlutterでもAndroidの9-patch画像がつかえないかなと思い、 いろいろ調べてみたときの備忘録(*´ω｀*) 9.pngファイル自体は対応していないが、 centerSliceで伸縮する部分を指定すればいいっぽい。 Image.asset( &quot;images/button.png&quot;, height: 100, width: 350, centerSlice: Rect.fromLTRB(15, 15, 35, 35), ) API Docにはこんな感じで書かれていた。 The center slice for a nine-patch image. centerSlice prop…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemory-lovers.blog%2Fentry%2F2024%2F02%2F17%2F153315&quot; title=&quot;Flutterで9-patchみたいに画像をいい感じに伸縮させたい(centerSlice) - くらげになりたい。&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>2024-02-17 15:33:15</published>
  <title>Flutterで9-patchみたいに画像をいい感じに伸縮させたい(centerSlice)</title>
  <type>rich</type>
  <url>https://memory-lovers.blog/entry/2024/02/17/153315</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
