ImageService class
Constructors
- ImageService()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
init(
{dynamic before(int)?, Size? originalImageSizeProfileImages, MarkImageAsNotFound? markImageAsNotFound, IsImageMarkedAsNotFound? isImageMarkedAsNotFound}) → Future< ImageService> -
loadImageFromWeb(
String url) → Future< File?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- originalImageSizeProfileImages → Size?
-
no setter
Static Methods
-
convertToLowerBytes(
Uint8List resizedMarkerImageBytes, {int? targetWidth}) → Future< Uint8List> -
convertUrlToTwitterSize(
int imageSize, String imageUrl) → String -
getSize(
String url) → Future< Size?> -
isImageMarkedAsNotFound(
String url) → bool -
markImageAsNotFound(
String url) → Future< void>