marcglasberg/assorted_layout_widgets

Incompatible with the latest Flutter beta (2.5.0-5.1.pre)

josh-burton opened this issue · 5 comments

../../../../.pub-cache/hosted/pub.dartlang.org/assorted_layout_widgets-5.0.2/lib/src/text_one_line_ellipsis_with_fade.dart:995:20: Error: The method 'RenderParagraphX.getBoxesForSelection' has fewer named arguments than those of overridden method 'RenderParagraph.getBoxesForSelection'.
  List<ui.TextBox> getBoxesForSelection(TextSelection selection) {

Also with 2.5.0 (non beta obviously)

PR available for a month now, 2.5 is stable

temporarily use this one guys:

assorted_layout_widgets:
    git:
        url: git://github.com/eldarkk/assorted_layout_widgets.git

Снимок экрана 2021-09-15 в 23 37 44

dont forget to put likes (stars) =))

@eldarkk your repo is more up-to-date than the PR's

Any update on this? its causing error with flutter 2.5 stable. Please fix this ASAP.

/C:/SDKs/flutter/.pub-cache/hosted/pub.dartlang.org/assorted_layout_widgets-5.1.1/lib/src/text_one_line_ellipsis_with_fade.dart:995:20: Error: The method 'RenderParagraphX.getBoxesForSelection' has fewer named arguments than those of overridden method 'RenderParagraph.getBoxesForSelection'.
  List<ui.TextBox> getBoxesForSelection(TextSelection selection) {
                   ^
/C:/SDKs/flutter/packages/flutter/lib/src/rendering/paragraph.dart:811:20: Context: This is the overridden method ('getBoxesForSelection').
  List<ui.TextBox> getBoxesForSelection(
                   ^


FAILURE: Build failed with an exception.
```