close method

void close()

Implementation

void close() {
  setState(() {
    _opacity = 0.0;
  });
  Future.delayed(_animationDuration, () {
    if (!mounted) return;
    DebugDot.of(context).removeDebugApp();
  });
}