HideAnimation constructor

HideAnimation()

Implementation

HideAnimation() {
  focusNode.addListener(() {
    if (focusNode.hasFocus) {
      Future<void>.delayed(
          const Duration(milliseconds: 100),
          () => _focusOnComponent(
              keyAppBar, keyInputFocus, scrollController, 200));
    } else {
      _focusOnComponent(keyAppBar, keyInputFocus, scrollController, 1);
    }
  });
}