getThemedAsset static method
Implementation
static String getThemedAsset(BuildContext context, String assetName) {
if (Web3ModalTheme.maybeOf(context)?.isDarkMode == true) {
return 'assets/dark/$assetName';
}
return 'assets/light/$assetName';
}