isRootElement property

bool get isRootElement

Whether node is the root of the view.

Implementation

bool get isRootElement => view != parent!.view;