Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib/flushbar_route.dart -> install() add required arguments OverlayEntry insertion… #120

Closed
wants to merge 1 commit into from

Conversation

ariefitriadin
Copy link

@ariefitriadin ariefitriadin commented Mar 27, 2020

…Point as per required in overriding OverlayRoute

adding required argument OverlayEntry on override install method
to prevent error when running in Flutter 1.12.13+hotfix.8 • channel stable
like following :
lib/flushbar_route.dart:303:8: Error: The method 'FlushbarRoute.install' has fewer positional arguments than those of overridden method 'OverlayRoute.install'. void install() { ^ ../../IDE/flutter/packages/flutter/lib/src/widgets/routes.dart:41:8: Context: This is the overridden method ('install'). void install(OverlayEntry insertionPoint) { ^ ../../IDE/flutter/.pub-cache/git/flushbar-58b6ba2872503813fe8aa5a843d99e5f7af9b97c/lib/flushbar_route.dart:311:18: Error: Too few positional arguments: 1 required, 0 given. super.install(); ^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.

FAILURE: Build failed with an exception.
`

…Point as per required in overriding OverlayRoute
@ariefitriadin ariefitriadin changed the title lib/flushbar_route.dart -> install() add param OverlayEntry insertion… lib/flushbar_route.dart -> install() add required arguments OverlayEntry insertion… Mar 27, 2020
@AndreHaueisen
Copy link
Owner

Please, read the changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants