[BUG] Flutter 3.24 build web issue
tms-dmitrii opened this issue · 0 comments
Flutter 3.24 build web issue:
Target dart2js failed: ProcessException: Process exited abnormally with exit code 1:
/home/flutter/.pub-cache/hosted/pub.dev/octopus-0.0.8/lib/src/widget/tools.dart:241:8:
Error: The return type of the method '_OctopusToolsController.toggle' is 'void', which does not match the return type, 'TickerFuture', of the overridden method, 'AnimationController.toggle'.
- 'TickerFuture' is from 'package:flutter/src/scheduler/ticker.dart' ('/home/flutter/flutter-sdk/packages/flutter/lib/src/scheduler/ticker.dart').
void toggle() {
^
/home/flutter/flutter-sdk/packages/flutter/lib/src/animation/animation_controller.dart:552:16:
Info: This is the overridden method ('toggle').
TickerFuture toggle({ double? from }) {
^
/home/flutter/.pub-cache/hosted/pub.dev/octopus-0.0.8/lib/src/widget/tools.dart:241:8:
Error: The method '_OctopusToolsController.toggle' has fewer named arguments than those of overridden method 'AnimationController.toggle'.
void toggle() {
^
/home/flutter/flutter-sdk/packages/flutter/lib/src/animation/animation_controller.dart:552:16:
Info: This is the overridden method ('toggle').
TickerFuture toggle({ double? from }) {
^
Error: Compilation failed.