NWalletActions constructor

const NWalletActions({
  1. Key? key,
  2. required NdkFlutter ndkFlutter,
  3. required String selectedWalletId,
  4. VoidCallback? onClearSelection,
  5. bool showTitle = true,
  6. bool showCloseButton = true,
  7. bool condensed = false,
})

Implementation

const NWalletActions({
  super.key,
  required this.ndkFlutter,
  required this.selectedWalletId,
  this.onClearSelection,
  this.showTitle = true,
  this.showCloseButton = true,
  this.condensed = false,
}) : assert(
       !showCloseButton || onClearSelection != null,
       'onClearSelection is required when showCloseButton is true',
     );