Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
1.7 kB
1
Indexable
Never
Container(
                height: 75,
                width: 75,
                decoration: BoxDecoration(
                  borderRadius: BorderRadius.circular(50),
                  color: Colors.white,
                  boxShadow: [
                    BoxShadow(
                      color: Colors.grey,
                      blurRadius: 1,
                      offset: Offset(
                        1,
                        1,
                      ), // Shadow position
                    ),
                    BoxShadow(
                      color: Colors.grey,
                      blurRadius: 1,
                      offset: Offset(
                        -1,
                        -1,
                      ), // Shadow position
                    ),
                    BoxShadow(
                      color: Colors.grey,
                      blurRadius: 1,
                      offset: Offset(
                        -1,
                        1,
                      ), // Shadow position
                    ),
                    BoxShadow(
                      color: Colors.grey,
                      blurRadius: 1,
                      offset: Offset(
                        1,
                        -1,
                      ), // Shadow position
                    ),
                  ],
                ),
                padding: EdgeInsets.all(3),
                child: CircleAvatar(
                  radius: 30,
                  backgroundColor: hexToColor('#00BCD5'),
                  child: SvgPicture.asset(
                    '${Constants.svgPath}/nid_card.svg',
                  ),
                ),
              ),