AutoImage constructor

const AutoImage(
  1. EditorImage image, {
  2. Key? key,
  3. BoxFit? fit,
  4. double? width,
  5. double? height,
  6. required ProImageEditorConfigs configs,
})

Creates an AutoImage widget with the specified image source and optional parameters.

Implementation

const AutoImage(
  this.image, {
  super.key,
  this.fit,
  this.width,
  this.height,
  required this.configs,
});