isRootElement property

bool isRootElement

Whether node is the root of the view.

Implementation

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