<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>werry-chan</author_name>
  <author_url>https://blog.hatena.ne.jp/werry-chan/</author_url>
  <blog_title>werry-chanの日記．料理とエンジニアリング</blog_title>
  <blog_url>https://werry-chann.com/</blog_url>
  <categories>
  </categories>
  <description>Flutter baseのpythonクロスプラットフォームGUIライブラリのFLET まだまだ開発途上なのか工夫しないと複雑な実装は難しいです。例えばcheckboxに値を持たせても, on_changeイベントからは, どのcheckboxが押されているのか参照不能な状態です。 checkbox以外のオブジェクトについても同様の問題があります。今回はcheckboxを例に, オブジェクトの値を保持し, イベント発火されたオブジェクトを特定してみましょう。 さらに今回は, イベント発火時に複数引数を持たせる部分まで実装して使い勝手を良くしていきます。まずは自分の値を参照可能な自作クラスを公式…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwerry-chann.com%2Fentry%2F2023%2F09%2F17%2F132600&quot; title=&quot;FletのCheckBoxに値を保持させてon_changeイベントでvalue参照&amp;amp;複数引数も実装 - werry-chanの日記．料理とエンジニアリング&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/w/werry-chan/20230917/20230917130319.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-09-17 13:26:00</published>
  <title>FletのCheckBoxに値を保持させてon_changeイベントでvalue参照&amp;複数引数も実装</title>
  <type>rich</type>
  <url>https://werry-chann.com/entry/2023/09/17/132600</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
