buildIcon method
Implementation
Widget buildIcon(BuildContext context) {
if (icon != null) {
return icon!;
}
final useProIcons = FastIconHelper.of(context).useProIcons;
if (useProIcons) {
return const FaIcon(
FastFontAwesomeIcons.lightEraser,
size: kFastIconSizeSmall,
);
}
return const FaIcon(
FontAwesomeIcons.eraser,
size: kFastIconSizeSmall,
);
}