headingLevel property

int headingLevel

The level of the widget as a heading within the structural hierarchy of the screen. A value of 1 indicates the highest level of structural hierarchy. A value of 2 indicates the next level, and so on.

Implementation

int get headingLevel => _headingLevel;