Im-Kevin / cool_ui

用flutter实现一些我认为好看的UI控件,有Popover,仿Weui的Toast,自定义键盘
Apache License 2.0
460 stars 74 forks source link

CupertinoPopoverMenuItem 点击事件 失效 #75

Open pickView opened 3 years ago

pickView commented 3 years ago

cool_ui: ^1.0.2 flutter: 2.2.4 device: iphonex ios :14.7

CupertinoPopoverMenuList(
            children: <Widget>[
              CupertinoPopoverMenuItem(
                child: Text(
                  '设备命名',
                  style: TextStyle(color: ISColor.gray666),
                  textAlign: TextAlign.center,
                ),
                onTap: () {
                 showCupertinoDialog(
                     context: context,
                      builder: (contxt) {
                      return showInputDeviceAlert(contxt);
                 });
return false;
                },
              ),
            ],

弹框不弹出

pickView commented 3 years ago

期待您的回复

Im-Kevin commented 3 years ago

33

Im-Kevin commented 3 years ago

看这个