AutoHideManager class

浮动组件自动隐藏管理器 负责管理浮动组件的自动隐藏功能

Constructors

AutoHideManager({required LayoutConfig config, required AnimationManager animationManager})

Properties

animationManager AnimationManager
final
config LayoutConfig
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
清理资源
getActiveAutoHidePositions() List<LayoutPosition>
获取所有有活跃定时器的组件位置
getRemainingAutoHideTime(LayoutPosition position) Duration?
获取指定组件的剩余自动隐藏时间
hasActiveAutoHideTimer(LayoutPosition position) bool
检查指定组件是否有活跃的自动隐藏定时器
initialize() → void
初始化自动隐藏功能
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseAllAutoHide() → void
暂停所有浮动组件的自动隐藏
pauseAutoHide(LayoutPosition position) → void
暂停指定组件的自动隐藏 例如当用户正在与组件交互时
resetAutoHideTimer(LayoutPosition position) → void
重置指定组件的自动隐藏定时器 当用户与组件交互时调用此方法
resumeAllAutoHide() → void
恢复所有浮动组件的自动隐藏
resumeAutoHide(LayoutPosition position) → void
恢复指定组件的自动隐藏
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited