Can static variables in a different file be set in Flutter Enum?
Two files here: (as to simplify a.dart and b.dart, Classes A and B) a.dart: enum CalorieDensity { veryLow, low, medium, high, none } class A extends StatefulWidget { const A({ Key? key, }) : super(key: key); @override State<A> createState() =>…