Flutter create a passowrd rules dialog - flutter

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".

Related

How to create a dialog box like the one that appears when you hold an emoji within your mobile device's keyboard?

I would like to know the first steps on how to approach a type of dialog like the one's shown in this article.

Setting Widget Focus in Gtkada

I'm trying to create a simple test program in Gtkada to bring up a Dialog box upon leaving a specific textbox. I have managed this part, but am having problems resetting the focus back to the original textbox when the Dialog's 'Ok' button is pressed.
The general idea is that the user enters something into a textbox and when they click/tab out of the box (focus out event), some simple Alphanumeric validation is done. If the validation fails, the user is warned with a Dialog, and focus is returned to the textbox they entered erroneous data into.
All I am after is a simple example of how to set the focus back to a textbox when you close the Dialog box which clicking out of the textbox originally called. In Gtkada... I'm using version 2.2 of Gtkada. I can't change the version of Gtkada, or use a different program or language!
Much obliged!
Tim
The most elegant solution, GUI-wise, is to do the validation on a leave_event on each input field, and if that fails display an error message (in red or some such) next to the field. But do not display a dialog or force the focus to a specific field, that would interfere with what the user is trying to do (imagine: I enter an incorrect email address, press tab, get the dialog which I do not read (like most users), start typing my name for the next field, but since the focus went back to the email address, I have no overridden that one and lost my previous input).
If you still want to grab the focus, Gtk.Widget.Grab_Focus is the procedure you want.

selenium: web form submitting

I have this task as a homework for interview - to test the webpage of popular site. Got a pop up form with some text in the fields. The task is to check is there are fields has been changed.
The page constructed that way, doesent matter if the data changed, popup window just closed with no additional text about it. I have no idea how to deal with it. Is there any commands in selenium checking, if the form has been sent?
add1
This is a PopUp changing profile window. It is shown below with my translations as the red font.
It is obvious, when this window opens, some values are already in the textfields (that is ur name/surname that u've entered before).
When u press the save button, this page checks if the data been changed since this window been opened (did u really changed anything).
The html code of "save" button has been shown on the pic2. U can see javaScript listener on the save button. There are somewhere must be a JS code, that checks if the data been changed and sends the form, and canceling the form sending, if there's no changing.
My Goal is to check using selenium, if the form has been sent.

In-App Purchase - Know When User Clicks 'Buy'

I'm trying to show/hide an activity indicator at appropriate times during the transaction process, and I'd like to show the activity indicator after the user clicks 'Buy' on the confirmation alert. This is what I'd like to do:
Show after 'Buy' is clicked
Hide when Apple ID password dialog is
shown
Show after password is entered
I have the other parts covered, but I can't find the right methods which handle these events. FYI, I am using the DejalBezelActivityView library.
Thanks!
check out this, It may help you in finding what you want
http://www.raywenderlich.com/2797/introduction-to-in-app-purchases

How can I create a non-modal dialog in Perl/Tk?

I am learning Perl/Tk. I want to give alert to the user whenever he/she receives the mail.
I have planned to use message box in Tk, but it is expecting the user to click ok or cancel button.
Until user clicked the any one button it wont do any further operations.
But I want, it just needs to give alert to the user and user can continue with the further process.
Refer the link
Non blocking a Dialog box in Perl Tk