Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

bstevr_assessment

bstevr assessment.

how to run

you can run this flutter app through android studio by simply opening the project and tapping the run button.
also you can run tests inside the project by simply using command below:

flutter test test/alphabet_tree_test.dart

contents

the app has two screens and one unit test.

screens:

alphabet tree unit testing:
alphabet tree unit testing

assessment details

1- alphabet trees

  • write a class that creates an alphabettree of any size or length.add a method to the class which accepts another alphabet tree, compares the data of the two trees and prints all the unique letters within the two trees, in alphabetical order.
  • write unit tests for the code.

2- automated coin detector

  • create a stream that randomly returns the string real or fake once every 3 seconds.
  • using this stream, create an app with a scrollable list of expandable widgets that gets updated every time a new value is received.
  • for each new value, the list should be populated with a new expandable widget at the top, with only the value visible. the widget should push the existing list items down, and animate into its position; it should slide and fade in from the right.
  • if the value is real, a sound effect (see below) should be played.
  • the title of the app should update to the last value received.
  • there should be a “play/pause” toggle button in the header that would pause/resume the stream. the button should animate between the two states.
  • upon tapping one of the list items, the item should expand to show the time passed since the value was received (34s ago, 2m ago, 1h ago, etc).
  • the item should animate upon expansion/contraction and play the sound effect if the value is real.
  • if the app is run in debug mode, it should also print the value to the console.

3- speed prototyping

  • set a timer for 30 minutes.
  • start the timer and try to build the screen below as accurately as possible.
  • focus on the structure, not the content. improvise where needed.
  • above all, make sure the code runs when the timer is over.

Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Comments are closed.