const UMEWidget({ Key? key, required this.child, this.enable = true, this.supportedLocales, this.localizationsDelegates = defaultLocalizationsDelegates, }) : super(key: key); 此Widget的构造方法 使用const修饰后,enable的值不能动态传入。