Flutter showModalBottomSheet 顶部圆角

  showModalBottomSheet(
    context: context,
    shape: const RoundedRectangleBorder(
      borderRadius: BorderRadius.only(
        topLeft: Radius.circular(15),
        topRight: Radius.circular(15),
      ),
    ),
    ......

 

posted @ 2022-11-20 12:24  letleon  阅读(276)  评论(0编辑  收藏  举报