Skip to content

关于InheritedWidget注册绑定不兼容问题 #776

@JackGZY

Description

@JackGZY

fish_redux模板代码中的buildView方法在非pure情况下调用context.dependOnInheritedWidgetOfExactType方法无法进行绑定,该方法必须在widget的build方法中调用。
目前只能在buildView里面在新加一个无状态的widget来解决绑定问题,希望后续能够改进buildView在非pure情况的这个问题;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions