Component - Form widget and GlobalKey
This UI component shows a simple form with a text input and a submit button. It uses a Form widget to group input fields and a GlobalKey to access the form state for validation. When the button is pressed, the form checks if the input is valid and shows a message.