blur background

Blur Background


ClipRRect(
  borderRadius: BorderRadius.circular(20.0),
  child: BackdropFilter(
    filter: ImageFilter.blur(sigmaX: 10.0, sigmaY: 10.0),
    child: Container(
      alignment: Alignment.center,
      width: 70,
      height: 30,
      decoration: BoxDecoration(
        color: Colors.grey.shade200.withOpacity(0.5),
      ),
      child: Text(
        'Skip',
        style: GoogleFonts.ubuntu(
          textStyle:
            TextStyle(color: MyTheme.black,
                fontSize: 15.0),
          )
        )),
  ),
),


Sign In or Register to comment.