feat(send): animated hash-bag on the "Transaction Sent" screen

Replace the static success illustration with HashBagSuccessAnimation: the money
sack sits at the bottom and #/$/₿ glyphs erupt from its mouth, rising and fading
on a loop. Glyphs are PNG assets (the app bundles no font with a ₿ glyph).

InfoPage gains an overridable buildIllustration() hook (default unchanged:
static HashImageWidget); only TransactionSuccessPage overrides it, so every
other InfoPage is untouched.

NOTE: written without a local Flutter build (Dart pub can't resolve here) —
verify on the next CI/device build. Self-contained and revertible; the static
hash_bag.png remains the fallback via imageLightPath/imageDarkPath.
This commit is contained in:
jwinterm
2026-08-07 03:02:37 -04:00
parent 7e368f92e6
commit 2e33f8324e
7 changed files with 136 additions and 1 deletions
@@ -1,5 +1,6 @@
import 'package:hash_wallet/generated/i18n.dart';
import 'package:hash_wallet/src/screens/Info_page.dart';
import 'package:hash_wallet/src/widgets/hash_bag_success_animation.dart';
import 'package:flutter/cupertino.dart';
class TransactionSuccessPage extends InfoPage {
@@ -11,6 +12,10 @@ class TransactionSuccessPage extends InfoPage {
final String content;
@override
Widget buildIllustration(BuildContext context, String image) =>
const HashBagSuccessAnimation();
@override
bool get onWillPop => false;