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
Installing older version of Gitkraken is the only solution I guess to work on private repo if you want it for free and without student developer pack. | |
From the release notes, the last version to support private repo is v6.5.1. |
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() { | |
Cuboid cuboid = Cuboid(1, 2, 3); | |
Cube cube = Cube(2); | |
print('cuboid.Volume - ${cuboid.Volume}'); | |
print('cuboid.SurfaceArea - ${cuboid.SurfaceArea}'); | |
print(''); | |
print('cube.Volume - ${cube.Volume}'); | |
print('cube.SurfaceArea - ${cube.SurfaceArea}'); |
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() { | |
Cuboid cube = Cuboid(1, 2, 3); | |
} | |
class Cuboid { | |
int length, width, height; | |
Cuboid(this.length, this.width, this.height); | |
// возвращает площадь поверхности прямоугольного параллелепипеда |
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() { | |
List<int> data1 = [1, -10, 9, -1]; | |
List<int> data2 = [-1, -2, -3]; | |
List<int> data3 = []; | |
List<int> data4 = [1, 2]; | |
print(sumInt(data1)); | |
print(sumInt(data2)); | |
print(sumInt(data3)); | |
print(sumInt(data4)); |
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() { | |
List<String> data1 = ['a', 'ab', 'abc']; | |
List<String> data2 = ['abcde', 'ab', 'abc']; | |
List<String> data3 = []; | |
print(countString(data1)); | |
print(countString(data2)); | |
print(countString(data3)); | |
} |
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() { | |
List<String> data = ["dart", "abc", "good luck"]; | |
print(wordValue(data)); | |
} | |
List<int> wordValue(List<String> array) { | |
List<String> alphabet = 'abcdefghijklmnopqrstuvwxyz'.split(''); | |
List<int> arr = []; |