FIcon.image constructor
const
FIcon.image(})
Creates a FIcon from an ImageProvider.
Note: Provided images should always have a transparent background. Otherwise, the entire icon will be color
.
Set color
to Colors.transparent to avoid recoloring the image.
See ImageIcon for more information.
Implementation
const factory FIcon.image(
ImageProvider<Object> image, {
Color? color,
double? size,
String? semanticLabel,
Key? key,
}) = _ImageProviderIcon;