ModularFlags class
Flags can change Modular behavior. isDebug = Enables text printing for debugging. isCupertino = Works with Cupertino-style routes. experimentalNotAllowedParentBinds = 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.
Constructors
- ModularFlags({bool experimentalNotAllowedParentBinds = false, bool isCupertino = false, bool isDebug = true})
Properties
- experimentalNotAllowedParentBinds ↔ bool
-
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;
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCupertino ↔ bool
-
Works with Cupertino-style routes.
Default is false;
getter/setter pair
- isDebug ↔ bool
-
Enables text printing for debugging.
Default is true;
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited