Skip to content

failed build with flutter 2.5.3 #51

@Mon-ius

Description

@Mon-ius

--- 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:

  • TextSelectionDelegate.userUpdateTextEditingValue
    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 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 **

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions