Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save BurningDroid/41ecc4a9f22a09128017fad8f0f7835e to your computer and use it in GitHub Desktop.
Save BurningDroid/41ecc4a9f22a09128017fad8f0f7835e to your computer and use it in GitHub Desktop.
Flutter - Number only TextField with initial value
TextFormField(
keyboardType: TextInputType.number,
initialValue: "1",
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment