features/wallet/hide_balance library
Classes
- WalletBalanceHidden
- The hide-balance switch.
Constants
- maskedAmountText → const String
- What a hidden amount shows in place of its digits: four bullets, no unit, no sign, so no DIGIT and no size of a figure leaks. It does not hide everything a bystander can infer: a row's Received/Sent title, glyph and colour still say which way money moved, and which card rows render still says that funds are pending or transparent.
Properties
-
walletBalanceHiddenProvider
→ NotifierProvider<
WalletBalanceHidden, bool> -
Hide balance (FR-49 W-7, ADR-0564 ruling B): the eye in the wallet header
replaces every amount a bystander can read with maskedAmountText, so a
wallet can be opened in public without showing what it holds.
final
Functions
-
displayedAmount(
String amountText, {}) → String -
amountTextas displayed: itself, or maskedAmountText while hidden.