stateOf static method

TagState stateOf(
  1. BuildContext context,
  2. Object tag
)

Implementation

static TagState stateOf(BuildContext context, Object tag) {
  return InheritedModel.inheritFrom<StageData>(context, aspect: (#state, tag))!.tagStates[tag] ?? .idle;
}