Skip to content

Instantly share code, notes, and snippets.

@passsy
Created December 12, 2019 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save passsy/379a21ee96aafd005c0abfe2744c9d47 to your computer and use it in GitHub Desktop.
Save passsy/379a21ee96aafd005c0abfe2744c9d47 to your computer and use it in GitHub Desktop.
LCD Flutter Dojo

Number to LCD Kata

Kotlin coding dojo no. 8: convert a given integer number to a LCD style number, see Part 1 of NumberToLCDKata

    0123456789
         
         
         |
         V
         
 _    _  _     _  _  _  _  _
| | | _| _||_||_ |_   ||_||_|
|_| ||_  _|  | _||_|  ||_| _|

Task 1

Implement the conversion of an integer to the string representation.

Task 2

Show the actual time:

    _        _
  |  | o |_||_
  |  | o   | _|

Task 3

Build a Flutter Widget showing the time.

Blinking "dots" between the hour and minute numbers would be really nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment