Is it posible to setup diferent templates for NestedList items depends on leaf value.
For examle: if item has leaf=true - we use first template and otherwise second.
Not really. A NestedList is a container using card layout and it's items are just Lists so you could change the template for the Lists but you have to hack it to allow it to work.