root property

Retrieve the first StateSet object

Implementation

static StateSet? get root =>
    _stateWidgets.isEmpty ? null : _stateWidgets.values.first;