Skip to content

UMEWidget的构造方法使用const修饰后enable属性无法传入动态值以修改,麻烦去掉构造方法前的const修饰符。 #129

Open
@jiangshenggang-ola

Description

@jiangshenggang-ola

const UMEWidget({
Key? key,
required this.child,
this.enable = true,
this.supportedLocales,
this.localizationsDelegates = defaultLocalizationsDelegates,
}) : super(key: key);

此Widget的构造方法 使用const修饰后,enable的值不能动态传入。

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