toWidget method
Return the associated Widget
Implementation
@override
Widget toWidget(BuildContext context) =>
toIcon(code, size: size, color: color) ?? const Icon(Icons.error);
Return the associated Widget
@override
Widget toWidget(BuildContext context) =>
toIcon(code, size: size, color: color) ?? const Icon(Icons.error);