constants library
Enums
- WalkingDirection
- The possible directions to walk in.
Constants
- assetsDirectory → const String
- The directory where assets will be stored.
-
defaultDirections
→ const Map<
String, double> - The default directions.
- encryptedWorldFilename → const String
- The filename for encrypted world files.
- indentedJsonEncoder → const JsonEncoder
- A JSON encoder that indents.
- preferencesFilename → const String
- The filename where preferences are stored.
- triggerMapFilename → const String
- The filename where the trigger map is stored.
Typedefs
-
ConditionalFunctionsMap
= Map<
String, bool Function(WorldContext worldContext)> - The type of a conditional functions map.
-
CustomCommandsMap
= Map<
String, EventCallback< WorldContext> > - The type of a custom commands map.
- ErrorHandler = void Function(Object e, StackTrace? s)
- The type of an error handler function.
-
EventCallback<
T> = void Function(T event) - The type for event callbacks.
-
JsonType
= Map<
String, dynamic> - The type for all JSON.