templates/template_constants
library
Constants
-
APP_DART_TPL
→ const String
-
Template for the application bootstrap file:
lib/{{projectName}}.dart.
Contains the function that configures and runs the CardinalApp.
-
CARDINAL_YAML_TPL
→ const String
-
Template for the core Cardinal configuration file:
cardinal.yaml.
-
COMMAND_DART_TPL
→ const String
-
Template for generating a new
CardinalCommand file.
Used by the add command.
-
ENTRYPOINT_DART_TPL
→ const String
-
Template for the main executable file:
bin/{{projectName}}.dart.
This file contains the primary main function that initializes the application runner.
-
PUBSPEC_YAML_TPL
→ const String
-
Template for the Dart package metadata file:
pubspec.yaml.
-
TEST_DART_TPL
→ const String
-
Template for generating a boilerplate test file.