Updates to debugDisableShadows (#17577)

1. Make CupertinoSwitch use BoxShadow.toPaint() so that it respects
   the `debugDisableShadows` flag.
2. Increase blue radius on debug banner
3. Only stroke "synthetic shadow" borders if elevation is positive.
This commit is contained in:
Todd Volkert
2018-05-15 08:55:42 -07:00
committed by GitHub
parent 8be2682ee4
commit c4cb0ecff3
4 changed files with 34 additions and 30 deletions

View File

@@ -1 +1 @@
df3f713cc47fc4e919d1c5cf52c0543424c26c09
298b585e6eb2bf51b12cd0ea9261a1b7a83c9a29