📜  颤动圆形容器透明角 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:05.679000             🧑  作者: Mango

代码示例1
new Container(
          height: 300.0,
          color: Colors.transparent,
          child: new Container(
            decoration: new BoxDecoration(
              color: Colors.green,
              borderRadius: new BorderRadius.only(
                topLeft: const Radius.circular(40.0),
                topRight: const Radius.circular(40.0),
              )
            ),
            child: new Center(
            child: new Text("Hi modal sheet"),
           )
         ),
        ),