<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinriyo</author_name>
  <author_url>https://blog.hatena.ne.jp/shinriyo/</author_url>
  <blog_title>万年素人からHackerへの道</blog_title>
  <blog_url>https://shinriyo.hateblo.jp/</blog_url>
  <categories>
    <anon>flutter</anon>
  </categories>
  <description>方法 1: MediaQuery を使う MediaQueryを使って現在の画面の向きを取得できます。ただし、MediaQueryだけでは左右のランドスケープを判別できないので、デバイスの回転方向も併せて取得する必要があります。 import 'package:flutter/material.dart'; import 'dart:ui'; class OrientationChecker extends StatelessWidget { @override Widget build(BuildContext context) { final orientation = MediaQuer…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinriyo.hateblo.jp%2Fentry%2F2024%2F12%2F22%2F%25E5%25B7%25A6%25E5%258F%25B3%25E3%2581%25AE%25E5%2588%25A4%25E5%25AE%259AFlutter&quot; title=&quot;左右の判定Flutter - 万年素人からHackerへの道&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-12-22 11:28:32</published>
  <title>左右の判定Flutter</title>
  <type>rich</type>
  <url>https://shinriyo.hateblo.jp/entry/2024/12/22/%E5%B7%A6%E5%8F%B3%E3%81%AE%E5%88%A4%E5%AE%9AFlutter</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
