-
-
Notifications
You must be signed in to change notification settings - Fork 913
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Minor updates to steps 3 & 4 in Klondike tutorial (#2626)
I have just finished steps 1-4 of the Klondike tutorial and noticed a couple of minor things that look to be outdated with the current dart / flame versions. ### Step 3 - `late` keyword isn't required When following this step the analyser hightlight this rule [unnecessary_late](https://dart.dev/tools/linter-rules/unnecessary_late) (introduced in Dart 2.16.0) which states: > Top-level and static variables with initializers are already evaluated lazily as if they are marked late. I updated the notes around why the laziness is important so the reader can still understand the reasoning.
- Loading branch information
Showing
2 changed files
with
30 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters