wizardParametersWidget method
Widget
wizardParametersWidget(
- AppModel app,
- BuildContext context,
- NewAppWizardParameters parameters
override
Implementation
@override
Widget wizardParametersWidget(
AppModel app, BuildContext context, NewAppWizardParameters parameters) {
if (parameters is NewPolicyParameters) {
//bool hasAccessToLocalFileSystem = Apis.apis().getMediumApi().hasAccessToLocalFilesystem();
return ActionSpecificationWidget(
app: app,
actionSpecification: parameters.actionSpecifications,
label: 'Generate a default Example Policy');
} else {
return text(app, context, 'Unexpected class for parameters: $parameters');
}
}