Created with <3 with dartpad.dev.
Created
March 6, 2023 06:25
-
-
Save angwrk/28443d450b199b93a6e016f8adc91af2 to your computer and use it in GitHub Desktop.
mellow-toast-2564
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
void main() { | |
var counter = const [2, 3]; | |
for (int i = 0; i < 5; i++) { | |
print('hello ${i + 1}'); | |
} | |
counter = [2, 9]; | |
bool isEqual = counter == [2, 9]; | |
var nav = ["Home", "Furniture"]; | |
if (isEqual) { | |
nav = [...nav, "James"]; | |
} | |
print(nav); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment