使用布局外層使用Scaffold即可
showDialog(
context: context,
builder: (_) {
return Scaffold(
backgroundColor: Colors.transparent,
body: Center(
child: SingleChildScrollView(
child: Column(
children: <Widget>[
],
),
),
),
);
});