hasHover static method
从当前上下文获取悬停状态
Implementation
static bool hasHover(BuildContext context) =>
InheritedModel.inheritFrom<_EventStatus>(
context,
aspect: _EventStatusAspect.hover,
)?.hasHover ??
false;
从当前上下文获取悬停状态
static bool hasHover(BuildContext context) =>
InheritedModel.inheritFrom<_EventStatus>(
context,
aspect: _EventStatusAspect.hover,
)?.hasHover ??
false;