Type Safely

Type Safely

Use a Material Overlay To Blur Content Underneath

Daily Coding Tip 092

Millie Sturgeon's avatar
Millie Sturgeon
May 29, 2022
∙ Paid
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…

User's avatar

Continue reading this post for free, courtesy of Type Safely.

Or purchase a paid subscription.
© 2026 Type Safely · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture