Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.

Failing to run #1

Open
vytautas-pranskunas- opened this issue Aug 22, 2020 · 0 comments
Open

Failing to run #1

vytautas-pranskunas- opened this issue Aug 22, 2020 · 0 comments

Comments

@vytautas-pranskunas-
Copy link

Hello,
I would like to use your library but it fails to run. Reason is here

@override
  void didUpdateWidget(T oldWidget) {
    super.didUpdateWidget(oldWidget);

    if (!_initialized) {
      super.start();
      this._initialized = true;
    }

    super.update();
  }

it crashes on if(_initailized) check because _initialized is privat variable and is null. You have to use public variable instead becuase public has ?? check.

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

No branches or pull requests

1 participant