Below is my code which I expect to render a round-corner container with a transparent background.
return new Container( //padding: const EdgeIn
If you want to round corners with transparent background, the best approach is using ClipRRect.
return ClipRRect( borderRadius: BorderRadius.circular(40.0), child: Container( height: 800.0, width: double.infinity, color: Colors.blue, child: Center( child: new Text("Hi modal sheet"), ), ), );