environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
http:
shared_preferences: ^0.5.6+1
dots_indicator: ^2.0.0
flappy_search_bar: 1.4.1
socket_io_client: ^0.9.1
laravel_echo:
dev_dependencies:
flutter_test:
sdk: flutter
With my SPA via Vue everything works well, did i missed anything? Thank you!
Hey, im pretty new to Flutter but i followed the example and once debugging the App im getting the following Error:
[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: NoSuchMethodError: Closure call with mismatched arguments: function 'onConnect' Receiver: Closure: (dynamic, [dynamic]) => Socket from Function 'io': static. Tried calling: onConnect(Closure: (dynamic) => void) Found: onConnect(dynamic, [dynamic]) => Socket
My Code lives in the main.dart and is as follows:
My pubspec.yaml:
With my SPA via Vue everything works well, did i missed anything? Thank you!