BankAccountSwitcher constructor

const BankAccountSwitcher({
  1. required List<BankAccount> accounts,
  2. required ValueChanged<BankAccount> onSelected,
  3. Key? key,
  4. String? selectedAccountId,
  5. Widget itemBuilder(
    1. BuildContext,
    2. BankAccount,
    3. bool isSelected
    )?,
  6. Color? backgroundColor,
  7. BorderRadius? radius,
  8. Color? handleColor,
  9. Widget? header,
  10. EdgeInsetsGeometry? padding,
  11. double? maxHeightFraction,
  12. double? rowHeight,
  13. TextStyle? titleStyle,
  14. TextStyle? subtitleStyle,
  15. TextStyle? amountStyle,
  16. IconData? selectedIcon,
  17. Color? accentColor,
})

Implementation

const BankAccountSwitcher({
  required this.accounts,
  required this.onSelected,
  super.key,
  this.selectedAccountId,
  this.itemBuilder,
  this.backgroundColor,
  this.radius,
  this.handleColor,
  this.header,
  this.padding,
  this.maxHeightFraction,
  this.rowHeight,
  this.titleStyle,
  this.subtitleStyle,
  this.amountStyle,
  this.selectedIcon,
  this.accentColor,
});