With the introduction of NNBD in Dart 2.12, a new keyword was created: late. The primary reason this was created was to allow for non-null fields, that did not have to be immediately initialized. 1 2 3 4 5 6 // Allow this to be null for now, compiler trusts us, that we will ...
unnecessary_late Description If a variable is assigned in all code branches before use, the late keyword is unnecessary. Details The analyzer can determine statically whether a final local variable is assigned in all code paths before it...
https://github.com/Nolence/just_the_tooltip/blob/7fa3df1a54d273c1f224c8c1d14e5cac426bdc1e/lib/src/just_the_tooltip.dart#L361 which will set the value of the controller to a new value which will error because it's a late final. Solution is probably to just remove final keyword Owne...
warning-"Using this may cause the application to break in runtime." error-"To keep in line with code standards, we don't want to use this." This could be very helpful to reach true compile-time sound null safety as we migrate to it fully. Examples https://dart.dev/null-safety/under...