DocumentBitmap class
Represent the bitmap/image of a document.
Usually the thumbnail of the document.
The bitmap is represented as a base64 string.
Should be used to show a list/grid preview of a file list.
See also getDocumentThumbnail.
Constructors
- DocumentBitmap({required String? base64, required Uri? uri, required int? width, required int? height, required int? byteCount, required int? density})
-
const
-
DocumentBitmap.fromMap(Map<
String, dynamic> map) -
factory
Properties
- base64 → String?
-
final
- byteCount → int?
-
final
- bytes → Uint8List?
-
no setter
- density → int?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → Uri?
-
final
- width → int?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override