onBlur method

void onBlur(
  1. Event event
)

Implementation

void onBlur(html.Event event) {
  /// Delay has focus a little bit so that the dropdown list has time to detect click before being removed
  Future<void>.delayed(Duration(milliseconds: 100)).then((_) {
    hasFocus = false;
  });
  _blurController.add(value);
}