WalletIconBuilder typedef
WalletIconBuilder =
Widget? Function(BuildContext context, WalletGlyph glyph, {Color? color, String? semanticLabel, double? size})
A host's renderer for one glyph. Return null for a glyph the host does not
map, and the SDK draws its Material default. When size or color is
null the widget returned must take it from the ambient IconTheme, as
Icon does. A non-null semanticLabel must be announced (the SDK passes
one only where the glyph carries meaning no text beside it does); with
null, the glyph must stay silent, as a label-less Icon is.
Implementation
typedef WalletIconBuilder =
Widget? Function(
BuildContext context,
WalletGlyph glyph, {
double? size,
Color? color,
String? semanticLabel,
});