Type Safely

Type Safely

Share this post

Type Safely
Type Safely
Use a Material Overlay To Blur Content Underneath

Use a Material Overlay To Blur Content Underneath

Daily Coding Tip 092

Millie Sturgeon's avatar
Millie Sturgeon
May 29, 2022
∙ Paid

Share this post

Type Safely
Type Safely
Use a Material Overlay To Blur Content Underneath
Share
Image by millionairemob from Pixabay

I’m going to start by creating an enum.

This isn’t strictly necessary, but I’m going to use it as a way to create a Picker that allows me to choose between the various default materials at runtime. The materials are described in thickness from ultra thin to ultra thick, but thickness really means how blurry the conten…

Keep reading with a 7-day free trial

Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share