Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

add blur filter in flutter


ClipRect(
              child: BackdropFilter(
                filter: ImageFilter.blur(sigmaX: 50, sigmaY: 50),
                child: Container(
                  height: Get.height,
                  width: Get.width,
                  decoration: BoxDecoration(
                    color: Colors.white.withOpacity(0.7),
                    borderRadius:const BorderRadius.only(
                      topRight: Radius.circular(35),
                      topLeft: Radius.circular(35),
                    )

                  ),
                  child: child,
                ),
              ),
            )
 
PREVIOUS NEXT
Tagged: #add #blur #filter #flutter
ADD COMMENT
Topic
Name
5+2 =