I would like to have a TextFormField (or something similar) in Flutter to guide the users to enter date. I want to predefine the format in the TextFormField, such as __/__/____, and the user can only change values where it is _. For example, when a user enters 05 for date, it will be 05/__/____. And when a user enters 01012023, it will be 01/01/2023.
Not sure if it is easy to configue or if there is already a similar component?
Thank you.
Related
I'm trying to create an text field which will flow to the top of the screen when the user starts typing and will show results in a list beneath it. I'm already gathering the results matching the users query into a list from Firebase, all I need is to somehow display the data. I would like to have the search results displayed under the text field in a similar way as google play is showing the search history. Any ideas witch widget should I use, so it would pop under the text field when the user starts typing?
you can use this package (material_floating_search_bar) to obtain this behavior.
at the moment i try to revised my password textfield.
I'm adding passwort rules.
For Example the password must allways 8 letters length...
Now i want a dialog for more useful information for the user.
I found in the internet a nice example.
Here the example:
My problem, i don't know how i can create this dialog in flutter.
I found the alertDialog in internet, but the background changes and the dialog close after the user klick on screen.
Here a emxample from AlertDialog:
Anyone have a idea how i can create a dialog like the first example.
The dialog should always visible.
Also if the user klick on screen.
But it should also allow the user to edit the textfield.
Many thx (:
I think the easiest way is to toast when the user clicks on submit button you can show this or you can show in text form field error text so user gets specific text like "Enter your name".
I’m building a mock writing test app with flutter. I need to display the writing prompt in the top of the screen while the user can write the essay below.
I’d like to allow the user to select the key words in the prompt and highlight them to help them stay focused on the topic while writing. How can it be achieved?
simply do this
String title ="<mark>"+_SelectedWordToSearch+"<mark>"
enter code here
I am trying to get user input as like in android or iOS. i.e whenever i enter value to any input fields the user input should be shown above the keyboard region.
Any suggestion would be more helpful.
We are creating an app for tamil keyboard in that we are providing suggestions like a,an,and, etc.. while clicking that suggestion it is not displayed in default editText field of our mobile phone. so, My query is how to display suggestion to the default textbox while clicking the particular suggestion.