diff --git a/cookiecutter.json b/cookiecutter.json index 2bae6d9..c629ec8 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -7,7 +7,7 @@ "org_name": "com.flet", "company_name": "Your Company", "copyright": "Copyright (c) 2023 Your Company", - "flutter_dependencies": null, + "flutter": null, "sep": "/", "kotlin_dir": "{{ cookiecutter.org_name.replace('.', cookiecutter.sep) }}{{ cookiecutter.sep }}{{ cookiecutter.project_name }}{{ cookiecutter.sep }}", "hide_loading_animation": true, diff --git a/{{cookiecutter.out_dir}}/lib/main.dart b/{{cookiecutter.out_dir}}/lib/main.dart index 5951ebe..b6e9ba9 100644 --- a/{{cookiecutter.out_dir}}/lib/main.dart +++ b/{{cookiecutter.out_dir}}/lib/main.dart @@ -9,7 +9,7 @@ import 'package:path/path.dart' as path; import 'package:serious_python/serious_python.dart'; import 'package:url_strategy/url_strategy.dart'; -{% for dep in cookiecutter.flutter_dependencies %} +{% for dep in cookiecutter.flutter.dependencies %} import 'package:{{ dep }}/{{ dep }}.dart' as {{ dep }}; {% endfor %} @@ -24,7 +24,7 @@ const outLogFilename = "out.log"; const errorExitCode = 100; const createControlFactories = [ -{% for dep in cookiecutter.flutter_dependencies %} +{% for dep in cookiecutter.flutter.dependencies %} {{ dep }}.createControl, {% endfor %} ];