ImageHelper class

Constructors

ImageHelper()

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

compressImage(File fileImage, {int expectedSize = 300000, String path = "Pictures"}) Future<File>
300kb
generateColor(String codename) Color
isImage(String url) bool
loadAssetWithCircleBg(String path, {Color color = Colors.black, double radiusSize = 28, double padding = 6}) Widget
loadCircleName(String codeName, {double radiusSize = 28, double widthSize = 63, double heightSize = 63, double fontSize = 14}) Widget
loadDefaultImage(double width, double height, {String ext = "Photo", Color backgroundColor = Colors.black, TextStyle? textStyle}) Widget
loadImageWidthSize(String url, double width, double height, {Map<String, String>? header, Color backgroundColor = Colors.black, TextStyle? textStyle}) Widget
loadUserPhoto(String url, String codeName, {double radiusSize = 28, double widthSize = 63, double heightSize = 63, double fontSize = 14, Map<String, String>? header}) Widget
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