Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

Add glow or shadow to flutter widget

Container(
            decoration: BoxDecoration(
                borderRadius: BorderRadius.circular(50),
                boxShadow: [
                  BoxShadow(
                    color: Color(0xFF000000).withAlpha(60),
                    blurRadius: 6.0,
                    spreadRadius: 0.0,
                    offset: Offset(
                      0.0,
                      3.0,
                    ),
                  ),
                ]),
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Add #glow #shadow #flutter #widget
ADD COMMENT
Topic
Name
6+4 =