title: How to support text size accessibility in Flutter like Android sp size and iOS Dynamic Type
body: <p>In Android you can set the font size using Scale-independent Pixels (sp) to take into account <a href="https://support.google.com/accessibility/android/answer/6006972?hl=en" rel="noreferrer">user font size preferences</a> chosen in the settings.</p>
  
  <pre><code>android:textSize="26sp"
  </code></pre>
  
  <p>In iOS you can use <a href="https://developer.apple.com/documentation/uikit/uifont/scaling_fonts_automatically" rel="noreferrer">Dynamic Type</a> to so something similar.</p>
  
  <pre><code>label.font = UIFont.preferredFont(forTextStyle: .body)
  label.adjustsFontForContentSizeCategory = true
  </code></pre>
  
  <p>How do you do the same thing in Flutter?</p>