NiceControlConfigurator constructor

const NiceControlConfigurator({
  1. Key? key,
  2. required String controlType,
  3. List<NicePropDescriptor> propDescriptors = const [],
  4. Map<String, dynamic> value = const {},
  5. void onChange(
    1. Map<String, dynamic> props
    )?,
  6. Widget renderPreview(
    1. Map<String, dynamic> props
    )?,
  7. NiceConfiguratorLayout layout = NiceConfiguratorLayout.horizontal,
})

Implementation

const NiceControlConfigurator({
  super.key,
  required this.controlType,
  this.propDescriptors = const [],
  this.value = const {},
  this.onChange,
  this.renderPreview,
  this.layout = NiceConfiguratorLayout.horizontal,
});