Код: Выделить всё
Could not build the precompiled application for the device.
Error (Xcode): ../../../../.pub-cache/hosted/pub.dev/getwidget-4.0.0/lib/components/button/gf_button.dart:579:34: Error: The argument type 'bool?' can't be assigned to the parameter type 'bool' because 'bool?' is nullable and 'bool' isn't.
Error launching application on iPhone.
Зависимости pubspec.yaml:
Код: Выделить всё
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.6
provider: ^6.1.0
curved_navigation_bar: ^1.0.3
sizer: ^2.0.15
get: ^4.6.5
http: ^1.2.1
fluttertoast: any
shared_preferences: ^2.2.3
floating_snackbar: ^1.0.3+1
firebase_core: ^2.32.0
firebase_messaging: ^14.6.9
connectivity_plus: ^6.0.3
intl: ^0.19.0
path_provider: ^2.1.1
change_app_package_name: ^1.1.0
flutter_launcher_icons: ^0.13.1
upgrader: ^8.4.0
google_fonts: ^4.0.4
getwidget: ^4.0.0
percent_indicator: ^4.2.3
lottie: ^2.7.0
awesome_snackbar_content: ^0.1.3
device_info_plus: ^10.1.0
flutter_icons:
image_path: "assets/images/appicon.png"
android: true
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
assets:
- assets/icons/
- assets/images/
- assets/logo.png
- assets/translations/
- assets/animation/
Я ожидаю, что приложение успешно скомпилируется для iOS.
Подробнее здесь: https://stackoverflow.com/questions/792 ... -type-bool