Skip to content

icodeyou/matrix-widgetbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jean VALLON - Widgetbook Challenge

This flutter app represents a coding challenge for Flutter enthusiasts applying for a job at Widgetbook.

Requirements

The app has been created with flutter 2.10.3 (dart 2.16.1).

Assignment

In this coding challenge, you will implement an application which accepts an input from the user and sends the input to a simulated backend. The flow of the user is the following:

  1. The user is greeted on the home screen with the provided Scaffold which hosts a TextField and a submission Button.
  2. The user inserts a name into the TextField and presses the Button to send the request to the simulated backend.
  3. The application computes the request, while the UI waits for the response.
  4. Once the request finished, the message of the response is shown in the UI below the submission button. If any error occurs while requesting from the server, an error message is shown instead.

Tasks

  1. Read this documentation.
  2. Clone (do not fork) the repository.
  3. Understand the provided code.
  4. Implement a TextField accepting a name.
    • make sure to verify that no invalid input (e.g. numbers) has been inserted!
  5. Implement a Button.
  6. Implement the compution of the request whenever the onPressed of the button is triggered.
  7. Show the response of the simulated backend.
  8. Upload your code to a new repository
    • do not create a fork
    • do not create a pull request
  9. send us the link to your repository with the solution
    • if you don't like the idea of your solution to be publicly available make sure to create a private repository and invite JensHor.

Additional info

  • You are allowed to use any package available on pub.dev.
  • You are allowed to create additional Widgets and classes.
  • We do not expect a fancy design. For UI components, you can use Material or Cupertino widgets.
  • Please do not modify the WidgetbookApi class.
  • Make sure to submit a solution from which you'd say that it is embracing standard software development patterns and practices.

Questions?

  • If you have any questions regarding this assignment, let us know within an issue!

Have fun!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published