ModularApp constructor

ModularApp({
  1. Key? key,
  2. required Module module,
  3. required Widget child,
  4. bool notAllowedParentBinds = false,
})

Implementation

ModularApp({
  Key? key,
  required this.module,
  required this.child,
  bool notAllowedParentBinds = false,
}) : super(key: key) {
  Modular.flags.experimentalNotAllowedParentBinds = notAllowedParentBinds;
}