ModularApp constructor
ModularApp({})
Implementation
ModularApp({
Key? key,
required this.module,
required this.child,
/// Home application containing the MaterialApp or CupertinoApp.
bool debugMode = true,
/// Prohibits taking any bind of parent modules, forcing the imports
/// of the same in the current module to be accessed.
/// This is the same behavior as the system. Default is false;
bool notAllowedParentBinds = false,
}) : super(key: key) {
(Modular as ModularBase).flags.experimentalNotAllowedParentBinds =
notAllowedParentBinds;
(Modular as ModularBase).flags.isDebug = debugMode;
}