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
The plugin dim uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.
Launching lib/main.dart on sdk gphone x86 arm in debug mode...
Running Gradle task 'assembleDebug'...
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text-7.0.0/lib/src/selection/extended_text_selection.dart:135:7: Error: The non-abstract class 'ExtendedTextSelectionState' is missing implementations for these members:
TextSelectionDelegate.copySelection
TextSelectionDelegate.cutSelection
TextSelectionDelegate.pasteText
TextSelectionDelegate.selectAll
Try to either
provide an implementation,
inherit an implementation from a superclass or mixin,
mark the class as abstract, or
provide a 'noSuchMethod' implementation.
class ExtendedTextSelectionState extends State
^^^^^^^^^^^^^^^^^^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:985:8: Context: 'TextSelectionDelegate.copySelection' is defined here.
void copySelection(SelectionChangedCause cause);
^^^^^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:965:8: Context: 'TextSelectionDelegate.cutSelection' is defined here.
void cutSelection(SelectionChangedCause cause);
^^^^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:973:16: Context: 'TextSelectionDelegate.pasteText' is defined here.
Future pasteText(SelectionChangedCause cause);
^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:979:8: Context: 'TextSelectionDelegate.selectAll' is defined here.
void selectAll(SelectionChangedCause cause);
^^^^^^^^^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text_field-8.0.0/lib/src/extended_editable_text.dart:1175:7: Error: The non-abstract class 'ExtendedEditableTextState' is missing implementations for these members:
AutofillClient.autofill
TextSelectionDelegate.copySelection
TextSelectionDelegate.cutSelection
TextSelectionDelegate.pasteText
TextSelectionDelegate.selectAll
Try to either
provide an implementation,
inherit an implementation from a superclass or mixin,
mark the class as abstract, or
provide a 'noSuchMethod' implementation.
class ExtendedEditableTextState extends State
^^^^^^^^^^^^^^^^^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/autofill.dart:765:8: Context: 'AutofillClient.autofill' is defined here.
void autofill(TextEditingValue newEditingValue);
^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:985:8: Context: 'TextSelectionDelegate.copySelection' is defined here.
void copySelection(SelectionChangedCause cause);
^^^^^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:965:8: Context: 'TextSelectionDelegate.cutSelection' is defined here.
void cutSelection(SelectionChangedCause cause);
^^^^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:973:16: Context: 'TextSelectionDelegate.pasteText' is defined here.
Future pasteText(SelectionChangedCause cause);
^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:979:8: Context: 'TextSelectionDelegate.selectAll' is defined here.
void selectAll(SelectionChangedCause cause);
^^^^^^^^^
lib/pages/login/register_page.dart:32:34: Error: Member not found: 'ImagePicker.pickImage'.
File img = await ImagePicker.pickImage(source: ImageSource.gallery);
^^^^^^^^^
lib/pages/login/login_page.dart:116:19: Error: The method 'WhitelistingTextInputFormatter' isn't defined for the class '_LoginPageState'.
'_LoginPageState' is from 'package:wechat_flutter/pages/login/login_page.dart' ('lib/pages/login/login_page.dart').
Try correcting the name to the name of an existing method, or defining a method named 'WhitelistingTextInputFormatter'.
WhitelistingTextInputFormatter(new RegExp('[0-9]'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/pages/root/root_tabbar.dart:44:11: Error: No named parameter with the name 'title'.
title: new Text(model.title, style: new TextStyle(fontSize: 12.0)),
^^^^^
../Developer/flutter/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart:25:9: Context: Found this candidate, but the arguments don't match.
const BottomNavigationBarItem({
^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/view/pop_view.dart:40:39: Error: The getter 'subhead' isn't defined for the class 'TextTheme'.
'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../Developer/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'subhead'.
TextStyle style = theme.textTheme.subhead;
^^^^^^^
lib/pages/mine/personal_info_page.dart:37:40: Error: Member not found: 'ImagePicker.pickImage'.
File imageFile = await ImagePicker.pickImage(source: type);
^^^^^^^^^
lib/im/message_handle.dart:24:31: Error: Member not found: 'ImagePicker.pickImage'.
image = await ImagePicker.pickImage(source: source);
^^^^^^^^^
lib/pages/chat/chat_more_page.dart:53:23: Error: The method 'DefaultAssetsPickerTextDelegate' isn't defined for the class '_ChatMorePageState'.
'_ChatMorePageState' is from 'package:wechat_flutter/pages/chat/chat_more_page.dart' ('lib/pages/chat/chat_more_page.dart').
Try correcting the name to the name of an existing method, or defining a method named 'DefaultAssetsPickerTextDelegate'.
textDelegate: DefaultAssetsPickerTextDelegate(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/pages/group/select_members_page.dart:175:9: Error: No named parameter with the name 'isUseRealIndex'.
isUseRealIndex: true,
^^^^^^^^^^^^^^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/azlistview-1.1.1/lib/src/az_listview.dart:10:3: Context: Found this candidate, but the arguments don't match.
AzListView({
^^^^^^^^^^
lib/pages/settings/chat_background_page.dart:51:35: Error: Member not found: 'ImagePicker.pickImage'.
File data = await ImagePicker.pickImage(source: source);
^^^^^^^^^
lib/ui/item/chat_voice.dart:43:18: Error: The method 'setSubscriptionDuration' isn't defined for the class 'FlutterSound'.
'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
Try correcting the name to the name of an existing method, or defining a method named 'setSubscriptionDuration'.
flutterSound.setSubscriptionDuration(0.01);
^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/item/chat_voice.dart:44:18: Error: The method 'setDbPeakLevelUpdate' isn't defined for the class 'FlutterSound'.
'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
Try correcting the name to the name of an existing method, or defining a method named 'setDbPeakLevelUpdate'.
flutterSound.setDbPeakLevelUpdate(0.8);
^^^^^^^^^^^^^^^^^^^^
lib/ui/item/chat_voice.dart:45:18: Error: The method 'setDbLevelEnabled' isn't defined for the class 'FlutterSound'.
'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
Try correcting the name to the name of an existing method, or defining a method named 'setDbLevelEnabled'.
flutterSound.setDbLevelEnabled(true);
^^^^^^^^^^^^^^^^^
lib/ui/item/chat_voice.dart:58:7: Error: 'RecorderRunningException' isn't a type.
RecorderRunningException e = err;
^^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/item/chat_voice.dart:53:12: Error: The method 'startRecorder' isn't defined for the class 'FlutterSound'.
'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
Try correcting the name to the name of an existing method, or defining a method named 'startRecorder'.
.startRecorder(Platform.isIOS ? 'ios.m4a' : 'android.mp4');
^^^^^^^^^^^^^
lib/ui/item/chat_voice.dart:56:24: Error: The getter 'onRecorderStateChanged' isn't defined for the class 'FlutterSound'.
'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'onRecorderStateChanged'.
flutterSound.onRecorderStateChanged.listen((e) {});
^^^^^^^^^^^^^^^^^^^^^^
lib/ui/item/chat_voice.dart:77:7: Error: 'RecorderStoppedException' isn't a type.
RecorderStoppedException e = err;
^^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/item/chat_voice.dart:65:42: Error: The method 'stopRecorder' isn't defined for the class 'FlutterSound'.
'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
Try correcting the name to the name of an existing method, or defining a method named 'stopRecorder'.
String result = await flutterSound.stopRecorder();
^^^^^^^^^^^^
lib/ui/message_view/sound_msg.dart:43:18: Error: The method 'setSubscriptionDuration' isn't defined for the class 'FlutterSound'.
'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
Try correcting the name to the name of an existing method, or defining a method named 'setSubscriptionDuration'.
flutterSound.setSubscriptionDuration(0.01);
^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/message_view/sound_msg.dart:44:18: Error: The method 'setDbPeakLevelUpdate' isn't defined for the class 'FlutterSound'.
'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
Try correcting the name to the name of an existing method, or defining a method named 'setDbPeakLevelUpdate'.
flutterSound.setDbPeakLevelUpdate(0.8);
^^^^^^^^^^^^^^^^^^^^
lib/ui/message_view/sound_msg.dart:45:18: Error: The method 'setDbLevelEnabled' isn't defined for the class 'FlutterSound'.
'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
Try correcting the name to the name of an existing method, or defining a method named 'setDbLevelEnabled'.
flutterSound.setDbLevelEnabled(true);
^^^^^^^^^^^^^^^^^
lib/ui/message_view/sound_msg.dart:86:26: Error: The method 'startPlayer' isn't defined for the class 'FlutterSound'.
'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
Try correcting the name to the name of an existing method, or defining a method named 'startPlayer'.
await flutterSound.startPlayer(path);
^^^^^^^^^^^
lib/ui/message_view/sound_msg.dart:87:26: Error: The method 'setVolume' isn't defined for the class 'FlutterSound'.
'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
Try correcting the name to the name of an existing method, or defining a method named 'setVolume'.
await flutterSound.setVolume(1.0);
^^^^^^^^^
lib/ui/message_view/sound_msg.dart:90:42: Error: The getter 'onPlayerStateChanged' isn't defined for the class 'FlutterSound'.
'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'onPlayerStateChanged'.
_playerSubscription = flutterSound.onPlayerStateChanged.listen((e) {
^^^^^^^^^^^^^^^^^^^^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text_field-8.0.0/lib/src/extended_editable_text.dart:2366:11: Error: The argument type 'AutofillConfiguration?' can't be assigned to the parameter type 'AutofillConfiguration' because 'AutofillConfiguration?' is nullable and 'AutofillConfiguration' isn't.
'AutofillConfiguration' is from 'package:flutter/src/services/autofill.dart' ('../Developer/flutter/packages/flutter/lib/src/services/autofill.dart').
? null
^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.2/lib/src/gesture_detector/scale.dart:32:11: Error: No named parameter with the name 'delta'.
delta: delta,
^^^^^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.2/lib/src/gesture_detector/scale.dart:339:43: Error: Too few positional arguments: 2 required, 1 given.
focalPointDelta > computePanSlop(pointerDeviceKind))
^
../Developer/flutter/packages/flutter/lib/src/gestures/events.dart:2116:8: Context: Found this candidate, but the arguments don't match.
double computePanSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
^^^^^^^^^^^^^^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.2/lib/src/gesture_detector/drag.dart:46:66: Error: Too few positional arguments: 2 required, 1 given.
final double minDistance = minFlingDistance ?? computeHitSlop(kind);
^
../Developer/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't match.
double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
^^^^^^^^^^^^^^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.2/lib/src/gesture_detector/drag.dart:54:55: Error: Too few positional arguments: 2 required, 1 given.
return _globalDistanceMoved.abs() > computeHitSlop(pointerDeviceKind);
^
../Developer/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't match.
double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
^^^^^^^^^^^^^^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.2/lib/src/gesture_detector/drag.dart:101:66: Error: Too few positional arguments: 2 required, 1 given.
final double minDistance = minFlingDistance ?? computeHitSlop(kind);
^
../Developer/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't match.
double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
^^^^^^^^^^^^^^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.2/lib/src/gesture_detector/drag.dart:109:55: Error: Too few positional arguments: 2 required, 1 given.
return _globalDistanceMoved.abs() > computeHitSlop(pointerDeviceKind);
^
../Developer/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't match.
double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
^^^^^^^^^^^^^^
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command '/Users/mac/Developer/flutter/bin/flutter'' finished with non-zero exit value 1
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
The plugin
dim
uses a deprecated version of the Android embedding.To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.
Launching lib/main.dart on sdk gphone x86 arm in debug mode...
Running Gradle task 'assembleDebug'...
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text-7.0.0/lib/src/selection/extended_text_selection.dart:135:7: Error: The non-abstract class 'ExtendedTextSelectionState' is missing implementations for these members:
Try to either
class ExtendedTextSelectionState extends State
^^^^^^^^^^^^^^^^^^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:985:8: Context: 'TextSelectionDelegate.copySelection' is defined here.
void copySelection(SelectionChangedCause cause);
^^^^^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:965:8: Context: 'TextSelectionDelegate.cutSelection' is defined here.
void cutSelection(SelectionChangedCause cause);
^^^^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:973:16: Context: 'TextSelectionDelegate.pasteText' is defined here.
Future pasteText(SelectionChangedCause cause);
^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:979:8: Context: 'TextSelectionDelegate.selectAll' is defined here.
void selectAll(SelectionChangedCause cause);
^^^^^^^^^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text_field-8.0.0/lib/src/extended_editable_text.dart:1175:7: Error: The non-abstract class 'ExtendedEditableTextState' is missing implementations for these members:
Try to either
class ExtendedEditableTextState extends State
^^^^^^^^^^^^^^^^^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/autofill.dart:765:8: Context: 'AutofillClient.autofill' is defined here.
void autofill(TextEditingValue newEditingValue);
^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:985:8: Context: 'TextSelectionDelegate.copySelection' is defined here.
void copySelection(SelectionChangedCause cause);
^^^^^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:965:8: Context: 'TextSelectionDelegate.cutSelection' is defined here.
void cutSelection(SelectionChangedCause cause);
^^^^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:973:16: Context: 'TextSelectionDelegate.pasteText' is defined here.
Future pasteText(SelectionChangedCause cause);
^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:979:8: Context: 'TextSelectionDelegate.selectAll' is defined here.
void selectAll(SelectionChangedCause cause);
^^^^^^^^^
lib/pages/login/register_page.dart:32:34: Error: Member not found: 'ImagePicker.pickImage'.
File img = await ImagePicker.pickImage(source: ImageSource.gallery);
^^^^^^^^^
lib/pages/login/login_page.dart:116:19: Error: The method 'WhitelistingTextInputFormatter' isn't defined for the class '_LoginPageState'.
Try correcting the name to the name of an existing method, or defining a method named 'WhitelistingTextInputFormatter'.
WhitelistingTextInputFormatter(new RegExp('[0-9]'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/pages/root/root_tabbar.dart:44:11: Error: No named parameter with the name 'title'.
title: new Text(model.title, style: new TextStyle(fontSize: 12.0)),
^^^^^
../Developer/flutter/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart:25:9: Context: Found this candidate, but the arguments don't match.
const BottomNavigationBarItem({
^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/view/pop_view.dart:40:39: Error: The getter 'subhead' isn't defined for the class 'TextTheme'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'subhead'.
TextStyle style = theme.textTheme.subhead;
^^^^^^^
lib/pages/mine/personal_info_page.dart:37:40: Error: Member not found: 'ImagePicker.pickImage'.
File imageFile = await ImagePicker.pickImage(source: type);
^^^^^^^^^
lib/im/message_handle.dart:24:31: Error: Member not found: 'ImagePicker.pickImage'.
image = await ImagePicker.pickImage(source: source);
^^^^^^^^^
lib/pages/chat/chat_more_page.dart:53:23: Error: The method 'DefaultAssetsPickerTextDelegate' isn't defined for the class '_ChatMorePageState'.
Try correcting the name to the name of an existing method, or defining a method named 'DefaultAssetsPickerTextDelegate'.
textDelegate: DefaultAssetsPickerTextDelegate(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/pages/group/select_members_page.dart:175:9: Error: No named parameter with the name 'isUseRealIndex'.
isUseRealIndex: true,
^^^^^^^^^^^^^^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/azlistview-1.1.1/lib/src/az_listview.dart:10:3: Context: Found this candidate, but the arguments don't match.
AzListView({
^^^^^^^^^^
lib/pages/settings/chat_background_page.dart:51:35: Error: Member not found: 'ImagePicker.pickImage'.
File data = await ImagePicker.pickImage(source: source);
^^^^^^^^^
lib/ui/item/chat_voice.dart:43:18: Error: The method 'setSubscriptionDuration' isn't defined for the class 'FlutterSound'.
Try correcting the name to the name of an existing method, or defining a method named 'setSubscriptionDuration'.
flutterSound.setSubscriptionDuration(0.01);
^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/item/chat_voice.dart:44:18: Error: The method 'setDbPeakLevelUpdate' isn't defined for the class 'FlutterSound'.
Try correcting the name to the name of an existing method, or defining a method named 'setDbPeakLevelUpdate'.
flutterSound.setDbPeakLevelUpdate(0.8);
^^^^^^^^^^^^^^^^^^^^
lib/ui/item/chat_voice.dart:45:18: Error: The method 'setDbLevelEnabled' isn't defined for the class 'FlutterSound'.
Try correcting the name to the name of an existing method, or defining a method named 'setDbLevelEnabled'.
flutterSound.setDbLevelEnabled(true);
^^^^^^^^^^^^^^^^^
lib/ui/item/chat_voice.dart:58:7: Error: 'RecorderRunningException' isn't a type.
RecorderRunningException e = err;
^^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/item/chat_voice.dart:53:12: Error: The method 'startRecorder' isn't defined for the class 'FlutterSound'.
Try correcting the name to the name of an existing method, or defining a method named 'startRecorder'.
.startRecorder(Platform.isIOS ? 'ios.m4a' : 'android.mp4');
^^^^^^^^^^^^^
lib/ui/item/chat_voice.dart:56:24: Error: The getter 'onRecorderStateChanged' isn't defined for the class 'FlutterSound'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'onRecorderStateChanged'.
flutterSound.onRecorderStateChanged.listen((e) {});
^^^^^^^^^^^^^^^^^^^^^^
lib/ui/item/chat_voice.dart:77:7: Error: 'RecorderStoppedException' isn't a type.
RecorderStoppedException e = err;
^^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/item/chat_voice.dart:65:42: Error: The method 'stopRecorder' isn't defined for the class 'FlutterSound'.
Try correcting the name to the name of an existing method, or defining a method named 'stopRecorder'.
String result = await flutterSound.stopRecorder();
^^^^^^^^^^^^
lib/ui/message_view/sound_msg.dart:43:18: Error: The method 'setSubscriptionDuration' isn't defined for the class 'FlutterSound'.
Try correcting the name to the name of an existing method, or defining a method named 'setSubscriptionDuration'.
flutterSound.setSubscriptionDuration(0.01);
^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/message_view/sound_msg.dart:44:18: Error: The method 'setDbPeakLevelUpdate' isn't defined for the class 'FlutterSound'.
Try correcting the name to the name of an existing method, or defining a method named 'setDbPeakLevelUpdate'.
flutterSound.setDbPeakLevelUpdate(0.8);
^^^^^^^^^^^^^^^^^^^^
lib/ui/message_view/sound_msg.dart:45:18: Error: The method 'setDbLevelEnabled' isn't defined for the class 'FlutterSound'.
Try correcting the name to the name of an existing method, or defining a method named 'setDbLevelEnabled'.
flutterSound.setDbLevelEnabled(true);
^^^^^^^^^^^^^^^^^
lib/ui/message_view/sound_msg.dart:86:26: Error: The method 'startPlayer' isn't defined for the class 'FlutterSound'.
Try correcting the name to the name of an existing method, or defining a method named 'startPlayer'.
await flutterSound.startPlayer(path);
^^^^^^^^^^^
lib/ui/message_view/sound_msg.dart:87:26: Error: The method 'setVolume' isn't defined for the class 'FlutterSound'.
Try correcting the name to the name of an existing method, or defining a method named 'setVolume'.
await flutterSound.setVolume(1.0);
^^^^^^^^^
lib/ui/message_view/sound_msg.dart:90:42: Error: The getter 'onPlayerStateChanged' isn't defined for the class 'FlutterSound'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'onPlayerStateChanged'.
_playerSubscription = flutterSound.onPlayerStateChanged.listen((e) {
^^^^^^^^^^^^^^^^^^^^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text_field-8.0.0/lib/src/extended_editable_text.dart:2366:11: Error: The argument type 'AutofillConfiguration?' can't be assigned to the parameter type 'AutofillConfiguration' because 'AutofillConfiguration?' is nullable and 'AutofillConfiguration' isn't.
? null
^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.2/lib/src/gesture_detector/scale.dart:32:11: Error: No named parameter with the name 'delta'.
delta: delta,
^^^^^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.2/lib/src/gesture_detector/scale.dart:339:43: Error: Too few positional arguments: 2 required, 1 given.
focalPointDelta > computePanSlop(pointerDeviceKind))
^
../Developer/flutter/packages/flutter/lib/src/gestures/events.dart:2116:8: Context: Found this candidate, but the arguments don't match.
double computePanSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
^^^^^^^^^^^^^^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.2/lib/src/gesture_detector/drag.dart:46:66: Error: Too few positional arguments: 2 required, 1 given.
final double minDistance = minFlingDistance ?? computeHitSlop(kind);
^
../Developer/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't match.
double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
^^^^^^^^^^^^^^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.2/lib/src/gesture_detector/drag.dart:54:55: Error: Too few positional arguments: 2 required, 1 given.
return _globalDistanceMoved.abs() > computeHitSlop(pointerDeviceKind);
^
../Developer/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't match.
double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
^^^^^^^^^^^^^^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.2/lib/src/gesture_detector/drag.dart:101:66: Error: Too few positional arguments: 2 required, 1 given.
final double minDistance = minFlingDistance ?? computeHitSlop(kind);
^
../Developer/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't match.
double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
^^^^^^^^^^^^^^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.2/lib/src/gesture_detector/drag.dart:109:55: Error: Too few positional arguments: 2 required, 1 given.
return _globalDistanceMoved.abs() > computeHitSlop(pointerDeviceKind);
^
../Developer/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't match.
double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
^^^^^^^^^^^^^^
FAILURE: Build failed with an exception.
Where:
Script '/Users/mac/Developer/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1005
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 27s
Exception: Gradle task assembleDebug failed with exit code 1
The text was updated successfully, but these errors were encountered: