flutter_ui_demo

Flutter exercise and my solution.

The exercise (ENG):

Prepare a simple application template with the following features:

Homepage: add a login button and an add photo button.

The login button should display a screen with login credentials, password recovery, or registration options if the user does not have an account (do not implement actions on the buttons or change the view).

The add photo button should lead to a screen where the user can add a photo. It should allow the user to import photos from their phone's gallery. Upon importing a photo, there should be a message indicating that better quality photos can be taken using the app's camera feature.

The second option for adding a photo is to take a photo using the camera widget. The camera should have default settings established by the application, such as ISO at 100, flash off, 2-second timer, and aspect ratio of 4:3.

After adding a photo, a new window should open displaying the captured image.

The exercise (PL):

Przygotuj prosty template aplikacji: Strona główna: dodaj przycisk logowanie oraz dodaj zdjęcie.

Logowanie ma wyświetlać ekran wraz z danymi do logowania, przywracanie hasła, lub rejestracje jeśli użytkownik nie ma konta (nie rób akcji na przyciski/nie zmieniaj widoku)

Dodawanie zdjęcia, byłby to ekran w którym użytkownik może dodać zdjęcie. Ważne żeby to zdjęcie mogło być importowane z pamięci telefonu. Przy imporcie, powinien być komunikat, że lepsza jakość zdjęcia będzie, gdy wykona się zdjęcie z użyciem naszej aplikacji.

Druga opcja dodania zdjęcia to zrobienia zdjęcia z użyciem widgetu kamery. Ważne żeby kamera posiadała domyśle funkcje, które są ustalone przez nasza aplikacje, np. ISO na 100, wyłączona lampa błyskowa, samowyzwalacz na 2 sekundy, proporcja - 4:3.

Po dodaniu zdjęcia otwórz nowe okno, które wyświetli wykonane zdjęcie.