useBottomSheetDesign property
bool
get
useBottomSheetDesign
Whether to use the bottom sheet design (v2) for the payment screen.
Reads from additionValues'useBottomSheetDesign'.
When 'true', uses the newer bottom sheet design (AmwalPayScreenV2).
When 'false' or not set, uses the original full-screen design (AmwalPayScreen).
Implementation
bool get useBottomSheetDesign => additionValues?['useBottomSheetDesign'] == 'true';