showModalBottomSheet(
backgroundColor: Colors.transparent,
context: context,
isScrollControlled: true,
builder: (BuildContext context) {
return StatefulBuilder(
builder: (BuildContext context, StateSetter setBottomSheetState) => Container(
),
);
});
Flutter在showModalBottomSheet中使用StatefulWidget
最新推荐文章于 2024-04-11 05:49:47 发布