Skip to content

LateInitializationError for MapState in map.dart #926

@SebastianEngel

Description

@SebastianEngel

I just upgraded to version 0.13.1 which solved already some LateInitializationErrors.

Unfortunately I just found another one in map.dart.

late final MapState _state;

which is final but can be set to another value again:

set state(MapState state) {
  _state = state;
  if (!_readyCompleter.isCompleted) {
    _readyCompleter.complete();
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue reports broken functionality or another error

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions