FFloatController class

通过 FFloatController 可以控制 FFloat 的显示、隐藏,以及感知状态变化。

FFloatController can control FFloat display, hide, and sense state changes.

Constructors

FFloatController()

Properties

hashCode int
The hash code for this object.
no setterinherited
isShow bool
FFloat 是否显示
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dismiss() → void
隐藏 FFloat
dispose() → dynamic
销毁
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuildShow() → void
显示 FFloat。会重建。
setState(VoidCallback fn) → dynamic
setStateChangedListener(VoidCallback listener) → dynamic
设置监听。当 FFloat 显示状态发生变化的时候会回调。
show() → void
显示 FFloat。如果已经显示,将不会再次重建。
toString() String
A string representation of this object.
inherited

Operators

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