Avatars class

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

Constructors

Avatars(Client client)

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 String code, int? width, int? height, int? quality}) Future<Uint8List>
Get Browser Icon
getCreditCard({required String code, int? width, int? height, int? quality}) Future<Uint8List>
Get Credit Card Icon
getFavicon({required String url}) Future<Uint8List>
Get Favicon
getFlag({required String 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