fix(todo demo): Return the correct CSS class for TODO items in the demo.
style: fix coding style to use more dart idioms