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

The method 'findRenderObject' was called on null #186

Open
j574144 opened this issue Mar 5, 2020 · 0 comments
Open

The method 'findRenderObject' was called on null #186

j574144 opened this issue Mar 5, 2020 · 0 comments

Comments

@j574144
Copy link

j574144 commented Mar 5, 2020

I am using swiper in a tab widget and I have this error when transitioned to other tab:

Remarks: I have controlled the list length and the null value

NoSuchMethodError: NoSuchMethodError: The method 'findRenderObject' was called on null. Receiver: null Tried calling: findRenderObject() File "custom_layout.dart", line 42, in _CustomLayoutStateBase.afterRender File "swiper.dart", line 880, in _StackViewState.afterRender File "custom_layout.dart", line 37, in _CustomLayoutStateBase._getSize File "binding.dart", line 1108, in SchedulerBinding._invokeFrameCallback File "binding.dart", line 1055, in SchedulerBinding.handleDrawFrame File "binding.dart", line 963, in SchedulerBinding._handleDrawFrame File "zone.dart", line 1126, in _rootRun File "zone.dart", line 1023, in _CustomZone.run File "zone.dart", line 925, in _CustomZone.runGuarded File "hooks.dart", line 261, in _invoke File "hooks.dart", line 219, in _drawFrame

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

No branches or pull requests

1 participant