of static method
The registered hook, or material when the host registered none. A missing icon hook is not a wiring error (unlike missing colours): the SDK's glyphs are a complete, working default.
Implementation
static WalletIcons of(BuildContext context) =>
Theme.of(context).extension<WalletIcons>() ?? material;