MediaGalleryControl<F extends Object> constructor

MediaGalleryControl<F extends Object>({
  1. Key? key,
  2. required String name,
  3. List<F>? initialValue,
  4. ValueChanged<List<F>>? onChanged,
  5. ErrorCallback? onError,
  6. int columns = 3,
  7. double? itemHeight,
  8. bool allowThirdParty = false,
  9. double size = 60,
  10. Widget? placeholder,
  11. bool isReadOnly = false,
  12. SafeCompleter? progress,
})

Implementation

MediaGalleryControl({
  Key? key,
  required this.name,
  this.initialValue,
  this.onChanged,
  this.onError,
  this.columns = 3,
  this.itemHeight,
  this.allowThirdParty = false,
  this.size = 60,
  this.placeholder,
  this.isReadOnly = false,
  this.progress,
})  : type = FlutterMediaTypes.get<F>(),
      super(key: key);