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

Field '_maskColorOpacity@1172011985' has not been initialized #52

Open
maomao1020 opened this issue Aug 14, 2021 · 1 comment
Open

Field '_maskColorOpacity@1172011985' has not been initialized #52

maomao1020 opened this issue Aug 14, 2021 · 1 comment

Comments

@maomao1020
Copy link

The following LateError was thrown building GZXDropDownMenu(dirty, dependencies: [_EffectiveTickerMode, MediaQuery], state: _GZXDropDownMenuState#610c4(ticker inactive)):
LateInitializationError: Field '_maskColorOpacity@1172011985' has not been initialized.

@hpsaah
Copy link

hpsaah commented Oct 6, 2021

In my case the error appears when trying to hide the menu when moving between options of the bottomNavigationBar. So i change the code asking if menu is showing before try to hide.

  if ( _dropdownMenuController.isShow ) {
    _dropdownMenuController.hide();
  }

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