Open Mon-ius opened 2 years ago
Any update on this issue ? Lot of people are facing this issue now
Building without sound null safety For more information see https://dart.dev/null-safety/unsound-null-safety
/usr/local/Caskroom/flutter/2.2.0/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math_fork-0.3.3+1/lib/src/widgets/selectable.dart:407:7: Error: The non-abstract class 'InternalSelectableMathState' is missing implementations for these members:
class InternalSelectableMathState extends State
FAILURE: Build failed with an exception.
Where: Script '/usr/local/Caskroom/flutter/2.2.0/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1102
What went wrong: Execution failed for task ':app:compileFlutterBuildRelease'.
Process 'command '/usr/local/Caskroom/flutter/2.2.0/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.
Get more help at https://help.gradle.org
BUILD FAILED in 26s
Running Gradle task 'assembleRelease'... 27.3s
Gradle task assembleRelease failed with exit code 1
(base) admin@signs Whoisavailable_provider_11122021_reupload-1 % flutter pub get
Running "flutter pub get" in Whoisavailable_provider_11122021_reupload-1... 2,644ms
(base) admin@signs Whoisavailable_provider_11122021_reupload-1 % flutter build apk --release
Building without sound null safety For more information see https://dart.dev/null-safety/unsound-null-safety
/usr/local/Caskroom/flutter/2.2.0/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math_fork-0.3.3+1/lib/src/widgets/selectable.dart:407:7: Error: The non-abstract class 'InternalSelectableMathState' is missing implementations for these members:
class InternalSelectableMathState extends State
FAILURE: Build failed with an exception.
Where: Script '/usr/local/Caskroom/flutter/2.2.0/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1102
What went wrong: Execution failed for task ':app:compileFlutterBuildRelease'.
Process 'command '/usr/local/Caskroom/flutter/2.2.0/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.
Get more help at https://help.gradle.org
BUILD FAILED in 26s Running Gradle task 'assembleRelease'... 27.2s Gradle task assembleRelease failed with exit code 1
--- xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:macOS, arch:x86_64, id:5B5D3D31-4199-58BB-A20C-ED2BB1C54620 } { platform:macOS, name:Any Mac } /usr/local/Caskroom/flutter/2.2.2/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math-0.3.0-nullsafety.1/lib/src/widgets/selectable.dart:407:7: Error: The non-abstract class 'InternalSelectableMathState' is missing implementations for these members:
class InternalSelectableMathState extends State
^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/Caskroom/flutter/2.2.2/flutter/packages/flutter/lib/src/services/text_input.dart:842:8: Context: 'TextSelectionDelegate.userUpdateTextEditingValue' is defined here.
void userUpdateTextEditingValue(TextEditingValue value, SelectionChangedCause cause);
^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/Caskroom/flutter/2.2.2/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math-0.3.0-nullsafety.1/lib/src/widgets/selection/overlay_manager.dart:84:8: Error: The method 'SelectionOverlayManagerMixin.hideToolbar' has fewer positional arguments than those of overridden method 'TextSelectionDelegate.hideToolbar'.
void hideToolbar() {
^
/usr/local/Caskroom/flutter/2.2.2/flutter/packages/flutter/lib/src/services/text_input.dart:849:8: Context: This is the overridden method ('hideToolbar').
void hideToolbar([bool hideHandles = true]);
^
/usr/local/Caskroom/flutter/2.2.2/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math-0.3.0-nullsafety.1/lib/src/widgets/selectable.dart:407:7: Error: Applying the mixin 'SelectionOverlayManagerMixin' to 'State with AutomaticKeepAliveClientMixin, FocusManagerMixin, SelectionManagerMixin' introduces an erroneous override of 'hideToolbar'.
class InternalSelectableMathState extends State
^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/Caskroom/flutter/2.2.2/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math-0.3.0-nullsafety.1/lib/src/widgets/selection/overlay_manager.dart:84:8: Context: The method 'SelectionOverlayManagerMixin.hideToolbar' has fewer positional arguments than those of overridden method 'TextSelectionDelegate.hideToolbar'.
void hideToolbar() {
^
/usr/local/Caskroom/flutter/2.2.2/flutter/packages/flutter/lib/src/services/text_input.dart:849:8: Context: This is the overridden method ('hideToolbar').
void hideToolbar([bool hideHandles = true]);
^
/usr/local/Caskroom/flutter/2.2.2/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math-0.3.0-nullsafety.1/lib/src/widgets/selectable.dart:407:7: Error: The implementation of 'hideToolbar' in the non-abstract class 'InternalSelectableMathState' does not conform to its interface.
class InternalSelectableMathState extends State
^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/Caskroom/flutter/2.2.2/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math-0.3.0-nullsafety.1/lib/src/widgets/selectable.dart:407:7: Context: The method 'State with AutomaticKeepAliveClientMixin, FocusManagerMixin, SelectionManagerMixin, SelectionOverlayManagerMixin.hideToolbar' has fewer positional arguments than those of overridden method 'TextSelectionDelegate.hideToolbar'.
class InternalSelectableMathState extends State
^
/usr/local/Caskroom/flutter/2.2.2/flutter/packages/flutter/lib/src/services/text_input.dart:849:8: Context: This is the overridden method ('hideToolbar').
void hideToolbar([bool hideHandles = true]);
^
/usr/local/Caskroom/flutter/2.2.2/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math-0.3.0-nullsafety.1/lib/src/widgets/selection/overlay.dart:301:47: Error: Too few positional arguments: 8 required, 7 given.
child: selectionControls!.buildToolbar(
^
Command PhaseScriptExecution failed with a nonzero exit code note: Using new build system note: Planning note: Build preparation complete note: Building targets in dependency order BUILD FAILED