FunctionCallComposer constructor

const FunctionCallComposer({
  1. Key? key,
  2. required List<DartBlockVariableDefinition> existingVariableDefinitions,
  3. FunctionCallStatement? statement,
  4. dynamic onSaved(
    1. DartBlockFunction function,
    2. FunctionCallStatement functionCallStatement
    )?,
  5. dynamic onChange(
    1. DartBlockFunction function,
    2. FunctionCallStatement newFunctionCallStatement
    )?,
  6. required List<DartBlockDataType> restrictToDataTypes,
  7. bool showArgumentEditorAsModalBottomSheet = false,
  8. bool autoSelectDefaultFunction = true,
})

Implementation

const FunctionCallComposer({
  super.key,
  required this.existingVariableDefinitions,
  this.statement,
  this.onSaved,
  this.onChange,
  required this.restrictToDataTypes,
  this.showArgumentEditorAsModalBottomSheet = false,
  this.autoSelectDefaultFunction = true,
});