shared\app library
Classes
- AppDebug
- a very lightweight helper for showing up warnings and other related utility functions for the developer when making the app
Constants
- kAllowDebugLogs → const bool
- whether informational log messages are logged
- kAllowDebugWarnings → const bool
- determines whether certain things where type checking or sanity checks are done should be done or not
- kAppGitHubURL → const String
-
kDefinedLocales
→ const List<
String> - hardcoded locale definitions pool
- kFailedTestsPanic → const bool
- if a test does not run with a correct/expected behavior, the program will panic and then exit
- kRunSandboxView → const bool
-
used in development to run
SandboxViewinstead of the main app AppView - kRunTests → const bool
- runs the tests found in the main() of the app for release, this should be false
- kShowDebugView → const bool
- an immediate mode ui is ran on top of the app that shows important information
- kShowSuccessfulTestResults → const bool
- still reports the results of tests that has passed
- kStrAppName → const String
- kStrVerCode → const String
- kSuppressDebugViewLogging → const bool
- turns off debug logging for the debug events dispatcher
- mNativeChannel1 → const MethodChannel
- this platform channel basically just checks if the platform channel is working properly in the hollistic sense
Properties
Functions
-
initConsts(
) → Future< void> - initialize the constants and some other core elements of the app such as logging as well as the internal registry of the app so it knows all the registered jobs