Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jiangshenggang-ola opened this issue Aug 24, 2023 · 0 comments

Comments

@jiangshenggang-ola
Copy link

jiangshenggang-ola commented Aug 24, 2023

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant