Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
210a631
Resizing image size
Tamir198 Aug 18, 2020
1b18915
Make 1 GIF smaller
Tamir198 Aug 18, 2020
8545650
Merge pull request #1 from Tamir198/patch-1
Tamir198 Aug 19, 2020
656a969
Merge pull request #2 from Tamir198/patch-2
Tamir198 Aug 19, 2020
5ba9e73
Update week04.md
Tamir198 Aug 19, 2020
e363e17
Update week05.md
Tamir198 Aug 19, 2020
3606828
Update week06.md
Tamir198 Aug 19, 2020
78c68d2
Update week07.md
Tamir198 Aug 19, 2020
1ac4002
Update week08.md
Tamir198 Aug 19, 2020
b3b38e7
Update week09.md
Tamir198 Aug 19, 2020
33fbf4d
Update week10.md
Tamir198 Aug 19, 2020
0d250fe
Update week11.md
Tamir198 Aug 19, 2020
94ddd44
Update week12.md
Tamir198 Aug 19, 2020
e4dd489
Update week13.md
Tamir198 Aug 19, 2020
505f504
Update week14.md
Tamir198 Aug 19, 2020
7ae4f82
Update README.md
Tamir198 Aug 19, 2020
3621892
Update week06.md
Tamir198 Aug 19, 2020
5e3d3c5
Remove empty line
Tamir198 Aug 20, 2020
6f96618
Update README.md
Tamir198 Aug 20, 2020
f591836
Update week03.md
Tamir198 Aug 20, 2020
afbcfc6
Update week05.md
Tamir198 Aug 20, 2020
0e95532
Update week06.md
Tamir198 Aug 20, 2020
fbfbb10
Update week07.md
Tamir198 Aug 20, 2020
09c9c2c
Update week07.md
Tamir198 Aug 20, 2020
bb5e998
Update week10.md
Tamir198 Aug 20, 2020
b9f4f9d
Remove empty line
Tamir198 Aug 20, 2020
ea1a655
Remove empty line
Tamir198 Aug 20, 2020
acb1021
Update week09.md
Tamir198 Aug 20, 2020
47bffc9
Remove empty line
Tamir198 Aug 20, 2020
6a289fd
Remove empty lines
Tamir198 Aug 20, 2020
b7971f5
Remove empty lines
Tamir198 Aug 20, 2020
0d068b6
Remove empty lines
Tamir198 Aug 20, 2020
ede64e9
Update README.md
Tamir198 Aug 20, 2020
5f298b4
Update week09.md
Tamir198 Aug 20, 2020
9fde875
Merge pull request #38 from Tamir198/master
erluxman Aug 20, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update week11.md
  • Loading branch information
Tamir198 authored Aug 19, 2020
commit 0d250fec7495fcab629f892b3cc021d12ee5e38b
23 changes: 17 additions & 6 deletions week11.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
`MediaQuery` gives the information about screen like `height`, `width`, `pixels`, `notch size`, **Device scale factor & text scale factor set on setting**, `device theme light/dark` , system animation `enabled/disabled` etc.
[try on codepen](https://codepen.io/erluxman/pen/xxZEZGG)

![snapshot](assets/71mediaquery.png)


<img src="assets/71mediaquery.png" height ="650">

## #Day72 Decimal points

Expand All @@ -17,7 +19,8 @@ Want to get desired number of digits after decimal?
For convenience we can use extension functions.
[try on dartpad](https://dartpad.dartlang.org/3bdfd6923d1e8788ed81eaae9e77655f)

![decimal](assets/72decimal.png)

<img src="assets/72decimal.png" height ="650">

## #Day73 String multiplication

Expand All @@ -26,7 +29,10 @@ You can multiply String like numbers.
"Foo"*2 //Foo
"Bar "*5 //Bar Bar Bar Bar Bar

![stringmultiplication](assets/73stringmultiplication.png)


<img src="assets/73stringmultiplication.png" height ="650">


## #Day74 enum values

Expand Down Expand Up @@ -71,6 +77,7 @@ A mixin cannot use another mixin.

#### Conclusion : Use `mixin` if you want to reuse the behaviour and state of multiple classes


## #Day76 CustomPainter

CustomPainter provides canvs to draw different shapes.
Expand All @@ -79,12 +86,16 @@ CustomPainter provides canvs to draw different shapes.
2. Override paint(canvas,size) method and draw various shapes(circle,arc,rectangle,line etc) inside it.
3. Add a CustomPaint widget on screen and pass the CustomPainter as paint and it's size.

![code ](assets/76paints.png)

<img src="assets/76paints.png" height ="900">

Output

![emoji ](assets/76emoji.png)
![emoji ](assets/76emojis.png)

<img src="assets/76emoji.png" height ="600">

<img src="assets/76emojis.png" height ="600">


[try on codepen](https://codepen.io/erluxman/pen/YzwZpba)

Expand Down