We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51b3076 commit 8b138faCopy full SHA for 8b138fa
lib/src/commands/create/create_view_command.dart
@@ -80,6 +80,8 @@ class CreateViewCommand extends Command with ProjectStructureValidator {
80
// 1. If the template is supplied we use that template
81
// 2. If the template is null use config web to decide
82
print('templateType:$templateType preferWeb:${_configService.preferWeb}');
83
+
84
+ // We assign this when it's not null so there should be no default value for this
85
templateType ??= _configService.preferWeb ? 'web' : 'empty';
86
87
await _templateService.renderTemplate(
0 commit comments