📜  颤动圆形底片 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:24.784000             🧑  作者: Mango

代码示例1
void startAddNewMoodCheckin(BuildContext ctx) {
    showModalBottomSheet(
        shape: RoundedRectangleBorder(        //the rounded corner is created here
          borderRadius: BorderRadius.circular(10.0),
        ),
        context: ctx,
        builder: (_) {
          return Container(
            child: Text("This is a modal sheet"),
          );
        });
  }