0359デフォルトの名無しさん (ワッチョイ 1701-pvza)
2021/04/18(日) 23:00:32.60ID:iFUCsnCg0Widget _returnBody()
{
if(_mode)
return Container();
else
return Column(
children: <Widget>[
// 中略
]);
}
Widget build(BuildContext context) {
// 中略
child: _returnBody,
// 中略
}
でよいのでは?