init/init_functions/init_functions library
Functions
-
addEnvFileToAssets(
String envPath, {String pubspecPath = 'pubspec.yaml'}) → Future< bool> - Write env file to pubspec assets
-
chooseOutputFolder(
[String? defaultOutputFolder]) → String - Choose the output folder
-
configureEnv(
{bool forFlutter = false, String? defaultEnvPath}) → Future< String> - Configure env file
-
createEnvFile(
String envPath, {({bool? create, String? key, String? url})? defaults}) → bool - Create env file
-
getTag(
{bool addTag = false, String? tag}) → String - Get the tag to use in the header of generated files
-
validateEnvFile(
String envPath) → bool - Validate the env file