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
When I use import 'package:flutter_ftms/flutter_ftms.dart'; not call any function, and run flutter build ios I get:
Error (Xcode): ../../../.pub-cache/hosted/pub.dev/flutter_ftms-1.1.2/lib/src/bluetooth.dart:25:12: Error: A value of
type 'Future<List<BluetoothDevice>> Function(List<Guid>)' can't be returned from an async function with return type
'Future<List<BluetoothDevice>>'.
flutter clean followed by flutter pub get did not help.
Any ideas on what could cause this?
Steps to reproduce
Create new project flutter create .
Add flutter_ftms flutter pub add flutter_ftms
Add import line import 'package:flutter_ftms/flutter_ftms.dart'; on top of main.dart
Run: flutter build ios
The text was updated successfully, but these errors were encountered:
When I use
import 'package:flutter_ftms/flutter_ftms.dart';
not call any function, and runflutter build ios
I get:flutter clean
followed byflutter pub get
did not help.Any ideas on what could cause this?
Steps to reproduce
flutter create .
flutter pub add flutter_ftms
import 'package:flutter_ftms/flutter_ftms.dart';
on top ofmain.dart
flutter build ios
The text was updated successfully, but these errors were encountered: