draw method
Widget
draw(
- BuildContext context,
- WalletGlyph glyph, {
- double? size,
- Color? color,
- String? semanticLabel,
glyph drawn by the host's builder, or as its Material default when
the host has none or does not map it.
Implementation
Widget draw(
BuildContext context,
WalletGlyph glyph, {
double? size,
Color? color,
String? semanticLabel,
}) =>
builder?.call(
context,
glyph,
size: size,
color: color,
semanticLabel: semanticLabel,
) ??
Icon(
glyph.material,
size: size,
color: color,
semanticLabel: semanticLabel,
);