setStateChangedListener method

dynamic setStateChangedListener(
  1. VoidCallback listener
)

设置监听。当 FFloat 显示状态发生变化的时候会回调。

Set up monitoring. It will be called back when FFloat display status changes.

Implementation

setStateChangedListener(VoidCallback listener) {
  _callback = listener;
}