You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
../../../.pub-cache/hosted/pub.dev/boardview-0.2.2/lib/vs_scrollbar.dart:143:5: Error: No named parameter with the name 'isAlwaysShown'.
isAlwaysShown: isAlwaysShown,
^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/boardview-0.2.2/lib/vs_scrollbar.dart:174:14: Error: The getter 'isAlwaysShown' isn't defined for the class '_MaterialScrollbar'.
'_MaterialScrollbar' is from 'package:boardview/vs_scrollbar.dart' ('../../../.pub-cache/hosted/pub.dev/boardview-0.2.2/lib/vs_scrollbar.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'isAlwaysShown'.
widget.isAlwaysShown ?? _scrollbarTheme.isAlwaysShown ?? false;
^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/boardview-0.2.2/lib/vs_scrollbar.dart:174:47: Error: The getter 'isAlwaysShown' isn't defined for the class 'ScrollbarThemeData'.
'ScrollbarThemeData' is from 'package:flutter/src/material/scrollbar_theme.dart' ('../../../snap/flutter/common/flutter/packages/flutter/lib/src/material/scrollbar_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'isAlwaysShown'.
widget.isAlwaysShown ?? _scrollbarTheme.isAlwaysShown ?? false;
^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception
By the moment, the only way to make this works again is to modify manually the library, It's not recommended, I know, but if you want to make it works ASAP, then you just have to update this file
In line 143, you have to replace the isAlwaysShown property from the super constructor to thumbVisibility
Then in line 173, you have to do this tweak:
bool get showScrollbar =>
widget.thumbVisibility ?? _scrollbarTheme.thumbVisibility?.resolve(Set.of([MaterialState.disabled])) ?? false;
and you are done, it will let you build your ABB or APK normally at least for your local env
@jakebonk Can't release a new version 0.23 with just this fix?
New versions of flutter break this library, and I want to update my flutter version, and this lib is not allowing me to.
I can do the PR, but is literally 2 lines of code to change.
../../../.pub-cache/hosted/pub.dev/boardview-0.2.2/lib/vs_scrollbar.dart:143:5: Error: No named parameter with the name 'isAlwaysShown'.
isAlwaysShown: isAlwaysShown,
^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/boardview-0.2.2/lib/vs_scrollbar.dart:174:14: Error: The getter 'isAlwaysShown' isn't defined for the class '_MaterialScrollbar'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'isAlwaysShown'.
widget.isAlwaysShown ?? _scrollbarTheme.isAlwaysShown ?? false;
^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/boardview-0.2.2/lib/vs_scrollbar.dart:174:47: Error: The getter 'isAlwaysShown' isn't defined for the class 'ScrollbarThemeData'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'isAlwaysShown'.
widget.isAlwaysShown ?? _scrollbarTheme.isAlwaysShown ?? false;
^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
Where:
Script '/home/anselm/snap/flutter/common/flutter/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: 1297
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
The text was updated successfully, but these errors were encountered: