Search in sources :

Example 1 with FlutterGalleryEntry

use of io.flutter.module.FlutterDescriptionProvider.FlutterGalleryEntry in project flutter-intellij by flutter.

the class ChoseProjectTypeStep method createDependentSteps.

@NotNull
@Override
public Collection<? extends ModelWizardStep> createDependentSteps() {
    List<ModelWizardStep> allSteps = Lists.newArrayList();
    myModuleDescriptionToStepMap = new HashMap<>();
    for (ModuleGalleryEntry moduleGalleryEntry : myModuleGalleryEntryList) {
        FlutterProjectStep step = ((FlutterGalleryEntry) moduleGalleryEntry).createFlutterStep(getModel());
        allSteps.add(step);
        myModuleDescriptionToStepMap.put(moduleGalleryEntry, step);
    }
    return allSteps;
}
Also used : ModuleGalleryEntry(com.android.tools.idea.npw.module.ModuleGalleryEntry) ModelWizardStep(com.android.tools.idea.wizard.model.ModelWizardStep) FlutterGalleryEntry(io.flutter.module.FlutterDescriptionProvider.FlutterGalleryEntry) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

ModuleGalleryEntry (com.android.tools.idea.npw.module.ModuleGalleryEntry)1 ModelWizardStep (com.android.tools.idea.wizard.model.ModelWizardStep)1 FlutterGalleryEntry (io.flutter.module.FlutterDescriptionProvider.FlutterGalleryEntry)1 NotNull (org.jetbrains.annotations.NotNull)1