Giter Site home page Giter Site logo

Comments (10)

smileShirely avatar smileShirely commented on May 14, 2024

@18335180686
#13 合入的develop_nullsafety 分支,需要你使用 git 依赖。

dependency_overrides:
  flutter_ume:
    git: https://github.com/bytedance/flutter_ume.git
    ref: develop_nullsafety

目前看你贴的应该是使用的 pub 依赖?方便检查一下 pubspec.yaml 文件吗?

from flutter_ume.

18335180686 avatar 18335180686 commented on May 14, 2024

#17 (comment)
flutter_ume_kit_console,这个插件是不是也得改成git的地址啊?
WeChata15dd6adf952928c8f5c0ae52317c7ca
WeChat20a059b51164732153a9aba29637aab3

from flutter_ume.

smileShirely avatar smileShirely commented on May 14, 2024

#17 (comment)
flutter_ume_kit_console,这个插件是不是也得改成git的地址啊?
WeChata15dd6adf952928c8f5c0ae52317c7ca
WeChat20a059b51164732153a9aba29637aab3

不需要的,override flutter_ume 就可以了

from flutter_ume.

18335180686 avatar 18335180686 commented on May 14, 2024

#17 (comment)
哦哦 那还是存在弹窗不能关闭的问题

from flutter_ume.

smileShirely avatar smileShirely commented on May 14, 2024

#17 (comment)
哦哦 那还是存在弹窗不能关闭的问题

那方便提供下你打开弹窗/关闭弹窗的代码吗?我在 flutter_ume 的 example 工程中测试过使用 awesome_dialog 打开弹窗/关闭弹窗是正常的

from flutter_ume.

smileShirely avatar smileShirely commented on May 14, 2024

@18335180686 在 flutter_ume 的 example 工程中,已经有使用 awesome_dialog 打开弹窗的例子了,你运行一下试试看?

from flutter_ume.

18335180686 avatar 18335180686 commented on May 14, 2024

@18335180686 在 flutter_ume 的 example 工程中,已经有使用 awesome_dialog 打开弹窗的例子了,你运行一下试试看?

使用系统自带的dialog是好使的,使用awesome_dialog插件就不好使了,下面是系统和awesome_dialog插件的使用代码,视频是这两个dialog分别的表象。

showDialog(
    context: context,
    builder: (ctx) => AlertDialog(
          title: const Text('这条帖子将被永久删除,任何人都不会再看到这条帖子,包括你自己。是否继续?'),
          actions: <Widget>[
            TextButton(
                onPressed: () => Navigator.pop(context),
                child: const Text('取消'))
          ],
        ),
    useRootNavigator: false);

AwesomeDialog(
    context: context,
    animType: AnimType.BOTTOMSLIDE,
    headerAnimationLoop: true,
    dialogType: DialogType.INFO,
    body: dialogContent(content: "这条帖子将被永久删除,任何人都不会再看到这条帖子,包括你自己。是否继续?"),
    btnOkOnPress: () {

    },
    btnOkText: "取消",
    useRootNavigator: false)
  ..show();
1628564509269328.mp4

from flutter_ume.

smileShirely avatar smileShirely commented on May 14, 2024
Screen_Recording_20210810-141413.mp4

@18335180686 我在 example 工程中测试了同样的代码,是正常的。你更新了以来之后可能没有执行 flutter pub get?我将完整的 example 中的示例 push 到了本仓库的 temp/test_for_issue17, 你 clone 下本仓库,对照看下 example 有没有什么区别?

from flutter_ume.

smileShirely avatar smileShirely commented on May 14, 2024

#17 (comment)
flutter_ume_kit_console,这个插件是不是也得改成git的地址啊?
WeChata15dd6adf952928c8f5c0ae52317c7ca
WeChat20a059b51164732153a9aba29637aab3

dependency_overrides:
  flutter_ume:
    git:
      url: https://github.com/bytedance/flutter_ume.git
      ref: develop_nullsafety

另外之前这里写的有点问题,少加了一行 git:。原来的写法,pub get 是执行不过去的。

from flutter_ume.

18335180686 avatar 18335180686 commented on May 14, 2024

ok 好了 谢谢

from flutter_ume.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.