Open 39499740 opened 6 years ago
Is this issue still there?
@Tran-Hoang-Lam i dont know,i have change other plugin
@Tran-Hoang-Lam i dont know,i have change other plugin
hi,friend,can u tell me which plugin u change?
@Tran-Hoang-Lam i dont know,i have change other plugin
hi,friend,can u tell me which plugin u change?
emmm. i just want a date picker... flutter_cupertino_date_picker
Xcode's output: ↳ === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release === Building AOT snapshot in release mode (ios-release)... compiler message: file:///Users/haoyi/.pub-cache/git/flutter_picker-d0aed0785d017a5c601f13ac632a4e06e5d309f5/lib/PickerLocalizationsDelegate.dart:17:3: Error: 'Future' expects 0 type arguments. compiler message: Future load(Locale locale) {
compiler message: ^
compiler message: file:///Users/haoyi/.pub-cache/git/flutter_picker-d0aed0785d017a5c601f13ac632a4e06e5d309f5/lib/PickerLocalizationsDelegate.dart:17:31: Error: The return type of the method 'PickerLocalizationsDelegate::load' is invalid-type, which does not match the return type of the overridden method (dart.async::Future<#lib1::PickerLocalizations>).
compiler message: Change to a subtype of dart.async::Future<#lib1::PickerLocalizations>.
compiler message: Future load(Locale locale) {
compiler message: ^
compiler message: file:///Users/haoyi/flutter/packages/flutter/lib/src/widgets/localizations.dart:113:13: Error: This is the overriden method ('load').
compiler message: Future load(Locale locale);
compiler message: ^
compiler message: file:///Users/haoyi/.pub-cache/git/flutter_picker-d0aed0785d017a5c601f13ac632a4e06e5d309f5/lib/PickerLocalizationsDelegate.dart:18:12: Error: A value of type '#lib1::SynchronousFuture<#lib2::PickerLocalizations>' can't be assigned to a variable of type 'invalid-type'.
compiler message: Try changing the type of the left hand side, or casting the right hand side to 'invalid-type'.
compiler message: return SynchronousFuture(PickerLocalizations(locale));
compiler message: ^
Compiler terminated unexpectedly.