<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/27461460/43340079-248c826c-9216-11e8-9dbc-f7218cd2a7f0.png"><img src="https://user-images.githubusercontent.com/27461460/43340079-248c826c-9216-11e8-9dbc-f7218cd2a7f0.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">I want my keyboard to able to write number without any decimal points. How to achieve it? I've tried giving either true or false in <code class="notranslate">decimal</code> in <code class="notranslate">TextInputType.numberWithOptions</code> but didn't work.</p>
<p dir="auto">Flutter doctor info.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v0.5.7, on Mac OS X 10.13.6 17G65, locale en-KR)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
[✓] Android Studio (version 3.1)
[!] VS Code (version 1.25.1)
[✓] Connected devices (3 available)

! Doctor found issues in 1 category."><pre class="notranslate"><code class="notranslate">Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v0.5.7, on Mac OS X 10.13.6 17G65, locale en-KR)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
[✓] Android Studio (version 3.1)
[!] VS Code (version 1.25.1)
[✓] Connected devices (3 available)

! Doctor found issues in 1 category.
</code></pre></div>
<h3 dir="auto">Bug</h3>
<p dir="auto">I am using <code class="notranslate">keyboardType: TextInputType.number</code></p>
<p dir="auto">And the docs say that it doesn't include decimal point. But I am seeing decimal, tested on emulator, simulator and iPhone 6s Real device.</p>
<p dir="auto">I even tried the other way</p>
<p dir="auto"><code class="notranslate">keyboardType: TextInputType.numberWithOptions(decimal: false),</code></p>
<p dir="auto">That didn't help either.</p>
<p dir="auto">So, it's a bug that needs to be fixed.</p>
<h3 dir="auto">Flutter doctor</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v1.0.0, on Mac OS X 10.14 18A389, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.2)
[✓] Connected device (1 available)

• No issues found!"><pre class="notranslate"><code class="notranslate">Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v1.0.0, on Mac OS X 10.14 18A389, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.2)
[✓] Connected device (1 available)

• No issues found!
</code></pre></div>
<h3 dir="auto">Devices</h3>
<p dir="auto">Simulator (12.1.0)<br>
Emulator (API 27)<br>
iPhone 6s (12.0.1)</p>
<p dir="auto">All devices are using default keyboard app provided by their platform</p>