You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> flutter run -d linux
Running "flutter pub get"in flokk_src... 15.8s
Launching lib/main.dart on Linux in debug mode...
ERROR: lib/styled_components/styled_text_input.dart:149:20: Error: A value of type'bool' can't be returned from a function with return type 'KeyEventResult'.ERROR: - 'KeyEventResult' is from 'package:flutter/src/widgets/focus_manager.dart' ('/home/dym/snap/flutter/common/flutter/packages/flutter/lib/src/widgets/focus_manager.dart').ERROR: return true;ERROR: ^ERROR: lib/styled_components/styled_text_input.dart:152:16: Error: A value of type 'bool' can't be returned from a functionwithreturntype'KeyEventResult'.
ERROR: - 'KeyEventResult' is from 'package:flutter/src/widgets/focus_manager.dart' ('/home/dym/snap/flutter/common/flutter/packages/flutter/lib/src/widgets/focus_manager.dart').
ERROR: returnfalse;
ERROR: ^
ERROR: lib/views/search/search_bar_view.dart:46:14: Error: The argument type'bool Function(FocusNode, RawKeyEvent)' can't be assigned to the parameter type 'KeyEventResult Function(FocusNode, RawKeyEvent)?'.ERROR: - 'FocusNode' is from 'package:flutter/src/widgets/focus_manager.dart' ('/home/dym/snap/flutter/common/flutter/packages/flutter/lib/src/widgets/focus_manager.dart').ERROR: - 'RawKeyEvent' is from 'package:flutter/src/services/raw_keyboard.dart' ('/home/dym/snap/flutter/common/flutter/packages/flutter/lib/src/services/raw_keyboard.dart').ERROR: - 'KeyEventResult' is from 'package:flutter/src/widgets/focus_manager.dart' ('/home/dym/snap/flutter/common/flutter/packages/flutter/lib/src/widgets/focus_manager.dart').ERROR: onKey: _handleKeyPress,ERROR: ^Building Linux application...Exception: Build process failed
The text was updated successfully, but these errors were encountered:
(latest flutter on ubuntu)
The text was updated successfully, but these errors were encountered: