Open weluid opened 1 month ago
Same!
After the target sdk update (34) this exact same error show up
same for me
@jaumard Pls support us with this issue
@jaumard any solution?
Cause: old version of flutter, so package PinInputTextField is resolved with version 4.4.1, but code of sms_aufotill is for 4.5.0+...
You can easily fork and remove
contextMenuBuilder: (context, editableTextState) { final List<ContextMenuButtonItem> buttonItems = editableTextState.contextMenuButtonItems; return AdaptiveTextSelectionToolbar.buttonItems( anchors: editableTextState.contextMenuAnchors, buttonItems: buttonItems, ); },
and just add
toolbarOptions: ToolbarOptions(paste: true),
in sms_autofill/lib/sms_autofill.dart:126 (version 2.4.0)
Hope author will resolve this in close future.
After updating Target SDK to 34 and sms_autofill to 2.4.0 i have this error during building
../../.pub-cache/hosted/pub.dev/sms_autofill-2.4.0/lib/sms_autofill.dart:126:7: Error: No named parameter with the name 'contextMenuBuilder'. contextMenuBuilder: (context, editableTextState) { ^^^^^^^^^^^^^^^^^^ ../../.pub-cache/hosted/pub.dev/pin_input_text_field-4.4.1/lib/src/widget/pin_widget.dart:70:3: Context: Found this candidate, but the arguments don't match. PinInputTextField({ ^^^^^^^^^^^^^^^^^ Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
Where: Script '/Users/mac/development/flutter/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: 1350
What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 32s Exception: Gradle task assembleDebug failed with exit code 1