buildIcon method

  1. @protected
Widget buildIcon(
  1. BuildContext context
)

Implementation

@protected
Widget buildIcon(BuildContext context) {
  if (widget.icon != null) return widget.icon!;

  final useProIcons = FastIconHelper.of(context).useProIcons;

  if (useProIcons) {
    return const FaIcon(FastFontAwesomeIcons.lightArrowsRotate);
  }

  return const FaIcon(FontAwesomeIcons.arrowsRotate);
}