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

🐛 Tabs issue: onReaorder null exception #88

Closed
WinXaito opened this issue Nov 9, 2021 · 1 comment
Closed

🐛 Tabs issue: onReaorder null exception #88

WinXaito opened this issue Nov 9, 2021 · 1 comment

Comments

@WinXaito
Copy link
Collaborator

WinXaito commented Nov 9, 2021

Describe the bug
An error occurs when the onReorder function is not provided.

Expected behavior
onReorder must be able to be null.

The error is noted here: https://github.com/bdlukaa/fluent_ui/blob/master/lib/src/controls/navigation/tab_view.dart#L203

@henry2man
Copy link
Contributor

It may be obvious, but to fix it just declare an empty callback.

WinXaito pushed a commit to WinXaito/fluent_ui that referenced this issue Nov 28, 2021
dev-hann added a commit to dev-hann/fluent_ui that referenced this issue Sep 18, 2023
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

2 participants