PocketBaseImageProvider constructor

PocketBaseImageProvider({
  1. required $PocketBase client,
  2. required String recordId,
  3. required String recordCollectionName,
  4. required String filename,
  5. int? pixelWidth,
  6. int? pixelHeight,
  7. Size? size,
  8. Color? color,
  9. double? scale,
  10. Duration? expireAfter,
  11. String? token,
  12. bool autoGenerateToken = false,
})

Creates an ImageProvider for a PocketBase file.

Implementation

PocketBaseImageProvider({
  required this.client,
  required this.recordId,
  required this.recordCollectionName,
  required this.filename,
  this.pixelWidth,
  this.pixelHeight,
  this.size,
  this.color,
  this.scale,
  this.expireAfter,
  this.token,
  this.autoGenerateToken = false,
});