Untitled

 avatar
unknown
dart
2 years ago
6.2 kB
49
Indexable
PS C:\Projects\Plati-Mi\frontend\plati_mi_flutter> flutter build appbundle

/C:/Users/NELEX/AppData/Local/Pub/Cache/hosted/pub.dev/assorted_layout_widgets-7.0.1/lib/src/text_one_line_ellipsis_with_fade.dart:17:7: Error: The non-abstract class 'TextOneLineEllipsisWithFade' is missing implementations for these members:
 - Text.textScaler
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 TextOneLineEllipsisWithFade extends StatelessWidget implements Text {
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
/C:/Users/NELEX/flutter/packages/flutter/lib/src/widgets/text.dart:560:21: Context: 'Text.textScaler' is defined here.
  final TextScaler? textScaler;
                    ^^^^^^^^^^
/C:/Users/NELEX/AppData/Local/Pub/Cache/git/flutter_text_selection_controls_fixed-4fd22b1a17ab3540b024deeb731ca444fae3c7b8/text_selection_controls/lib/text_selection_controls.dart:117:30: Error: The parameter 'clipboardStatus' o
f the method 'FlutterSelectionControls.buildToolbar' has type 'ClipboardStatusNotifier?', which does not match the corresponding type, 'ValueListenable<ClipboardStatus>?', in the overridden method, 'MaterialTextSelectionControls.buildToolbar'.
 - 'ClipboardStatusNotifier' is from 'package:flutter/src/widgets/text_selection.dart' ('/C:/Users/NELEX/flutter/packages/flutter/lib/src/widgets/text_selection.dart').
 - 'ValueListenable' is from 'package:flutter/src/foundation/change_notifier.dart' ('/C:/Users/NELEX/flutter/packages/flutter/lib/src/foundation/change_notifier.dart').
 - 'ClipboardStatus' is from 'package:flutter/src/widgets/text_selection.dart' ('/C:/Users/NELEX/flutter/packages/flutter/lib/src/widgets/text_selection.dart').
Change to a supertype of 'ValueListenable<ClipboardStatus>?', or, for a covariant parameter, a subtype.
    ClipboardStatusNotifier? clipboardStatus,
                             ^
/C:/Users/NELEX/flutter/packages/flutter/lib/src/material/text_selection.dart:49:10: Context: This is the overridden method ('buildToolbar').
  Widget buildToolbar(
         ^
/C:/Users/NELEX/AppData/Local/Pub/Cache/hosted/pub.dev/screenshot-1.3.0/lib/screenshot.dart:160:7: Error: No named parameter with the name 'window'.
      window: ui.window,
      ^^^^^^
/C:/Users/NELEX/flutter/packages/flutter/lib/src/rendering/view.dart:75:3: Context: Found this candidate, but the arguments don't match.
  RenderView({
  ^^^^^^^^^^
/C:/Users/NELEX/AppData/Local/Pub/Cache/git/flutter_text_selection_controls_fixed-4fd22b1a17ab3540b024deeb731ca444fae3c7b8/text_selection_controls/lib/text_selection_controls.dart:62:49: Error: Too many positional arguments: 1 allowed, but 2 found.
Try removing the extra positional arguments.
        if (canCopy(delegate)) return handleCopy(delegate, clipboardStatus);
                                                ^
/C:/Users/NELEX/AppData/Local/Pub/Cache/git/flutter_text_selection_controls_fixed-4fd22b1a17ab3540b024deeb731ca444fae3c7b8/text_selection_controls/lib/text_selection_controls.dart:62:49: Error: A value of type 'invalid-type' can't be returned from an async function with return type 'void'.
        if (canCopy(delegate)) return handleCopy(delegate, clipboardStatus);
                                                ^
/C:/Users/NELEX/AppData/Local/Pub/Cache/git/flutter_text_selection_controls_fixed-4fd22b1a17ab3540b024deeb731ca444fae3c7b8/text_selection_controls/lib/text_selection_controls.dart:80:47: Error: Too many positional arguments: 1 allowed, but 2 found.
Try removing the extra positional arguments.
        if (canCut(delegate)) return handleCut(delegate, clipboardStatus);
                                              ^
/C:/Users/NELEX/AppData/Local/Pub/Cache/git/flutter_text_selection_controls_fixed-4fd22b1a17ab3540b024deeb731ca444fae3c7b8/text_selection_controls/lib/text_selection_controls.dart:80:47: Error: A value of type 'invalid-type' can't be returned from an async function with return type 'void'.
        if (canCut(delegate)) return handleCut(delegate, clipboardStatus);
                                              ^
/C:/Users/NELEX/AppData/Local/Pub/Cache/git/flutter_text_selection_controls_fixed-4fd22b1a17ab3540b024deeb731ca444fae3c7b8/text_selection_controls/lib/text_selection_controls.dart:233:34: Error: The getter 'disposed' isn't defined for the class 'ClipboardStatusNotifier'.
 - 'ClipboardStatusNotifier' is from 'package:flutter/src/widgets/text_selection.dart' ('/C:/Users/NELEX/flutter/packages/flutter/lib/src/widgets/text_selection.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'disposed'.
    if (!widget.clipboardStatus!.disposed) {
                                 ^^^^^^^^
/C:/Users/NELEX/AppData/Local/Pub/Cache/hosted/pub.dev/another_flushbar-1.12.29/lib/flushbar.dart:439:38: Error: The argument type 'BorderRadius?' can't be assigned to the parameter type 'BorderRadiusGeometry' because 'BorderRadius?' is nullable and 'BorderRadiusGeometry' isn't.
 - 'BorderRadius' is from 'package:flutter/src/painting/border_radius.dart' ('/C:/Users/NELEX/flutter/packages/flutter/lib/src/painting/border_radius.dart').
 - 'BorderRadiusGeometry' is from 'package:flutter/src/painting/border_radius.dart' ('/C:/Users/NELEX/flutter/packages/flutter/lib/src/painting/border_radius.dart').
                borderRadius: widget.borderRadius,
                                     ^
Target kernel_snapshot failed: Exception


FAILURE: Build failed with an exception.

* Where:
Script 'C:\Users\NELEX\flutter\packages\flutter_tools\gradle\src\main\groovy\flutter.groovy' line: 1350

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'C:\Users\NELEX\flutter\bin\flutter.bat'' 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 57s
Running Gradle task 'bundleRelease'...                             58,0s
Gradle task bundleRelease failed with exit code 1
Editor is loading...
Leave a Comment