addDefault method
Adds a default widget to the stack based on platform.
Implementation
@override
void addDefault() {
final PlatformType pType = platformUtils.instance.getPlatformType();
// Choose the state based on platform
if (pType == PlatformType.mobile) {
add(const WalletListShortPage());
} else if (pType == PlatformType.desktop || pType == PlatformType.web) {
add(const QRCodeAndWalletListPage());
}
}