Adding pub spec and organizing code blocks