📅  最后修改于: 2022-03-11 14:59:06.094000             🧑  作者: Mango
PopupMenuButton(
offset: Offset(100, 100),
elevation: 5.0,
child: _menuIcon,
itemBuilder: (context) => [
PopupMenuItem(
child: StatefulBuilder(
builder: (_context, _setState) =>
CheckBoxListTile(
activeColor: kLeadingOrangeColor,
value: isShow,
onChanged: (value) =>
_setState(() => isShow = value),
title: checkboxLabel('Show'),
),
),
),
],
)