Avatars class

The Avatars service aims to help you complete everyday tasks related to your app image, icons, and avatars.

Constructors

Avatars(Client client)
Initializes a Avatars service

Properties

client Client
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getBrowser({required Browser code, int? width, int? height, int? quality}) Future<Uint8List>
Get browser icon
getCreditCard({required CreditCard code, int? width, int? height, int? quality}) Future<Uint8List>
Get credit card icon
getFavicon({required String url}) Future<Uint8List>
Get favicon
getFlag({required Flag code, int? width, int? height, int? quality}) Future<Uint8List>
Get country flag
getImage({required String url, int? width, int? height}) Future<Uint8List>
Get image from URL
getInitials({String? name, int? width, int? height, String? background}) Future<Uint8List>
Get user initials
getQR({required String text, int? size, int? margin, bool? download}) Future<Uint8List>
Get QR code
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