PocketBaseImageProvider constructor
PocketBaseImageProvider({
- required $PocketBase client,
- required String recordId,
- required String recordCollectionName,
- required String filename,
- int? pixelWidth,
- int? pixelHeight,
- Size? size,
- Color? color,
- double? scale,
- Duration? expireAfter,
- String? token,
- bool autoGenerateToken = false,
- RequestPolicy requestPolicy = RequestPolicy.cacheAndNetwork,
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,
this.requestPolicy = RequestPolicy.cacheAndNetwork,
});