Modifiers
Corner radius, shadow, and stroke
Visual polish modifiers.
CornerRadius
Rounds the view's visual box. Affects both Background rectangles and
Stroke outlines.
Shadow
Casts a drop shadow.
Parameters are color, blur radius, x offset, and y offset.
Stroke
Draws a colored border. Named Stroke to avoid confusion with the old
Border layout that no longer exists; use Scaffold for layout.
Opacity and Disabled
Opacity accepts a value between 0 and 1. Disabled(true) grays out the
view and ignores taps.