<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>paveway</author_name>
  <author_url>https://blog.hatena.ne.jp/paveway/</author_url>
  <blog_title>プログラムを書こう！</blog_title>
  <blog_url>https://www.paveway.info/</blog_url>
  <categories>
    <anon>Dart</anon>
  </categories>
  <description>この記事は 2025 年 8 月 21 日に投稿しました。 目次 はじめに Dartで変数をnull許容型で定義する おわりに リンク 1. はじめに こんにちは、iOS のエディタアプリPWEditorとその後継PWEditor2の開発者の二俣です。 今回はDartで変数をnull許容型で定義する方法についてです。 目次へ 2. Dartで変数をnull許容型で定義する Dartで変数をnull許容型で定義するには、以下のような書式になります。 書式 var? 変数名; 実装例 void main() { String? message; print(message); } 実行結果 nul…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.paveway.info%2Fentry%2F2025%2F08%2F21%2Fdart_variable_allow_null&quot; title=&quot;Dartで変数をnull許容型で定義する - プログラムを書こう！&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.user.blog.st-hatena.com/default_entry_og_image/152787833/1526825363332444</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-08-21 07:28:56</published>
  <title>Dartで変数をnull許容型で定義する</title>
  <type>rich</type>
  <url>https://www.paveway.info/entry/2025/08/21/dart_variable_allow_null</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
