follow property

bool get follow

Implementation

bool get follow => _follow;
  1. @override
set follow (bool value)
override

Implementation

@override
set follow(bool value) {
  if (_follow != value) {
    setState(() {
      _follow = value;
      if (_follow) {
        _ticker.start();
      } else {
        _ticker.stop();
      }
    });
  }
}