level property
int
get
level
The level of the RenderObject in the render tree.
Implementation
int get level => parent == null ? 0 : parent!.level + 1;
The level of the RenderObject in the render tree.
int get level => parent == null ? 0 : parent!.level + 1;