BankAccountSwitcher constructor
const
BankAccountSwitcher({
- required List<
BankAccount> accounts, - required ValueChanged<
BankAccount> onSelected, - Key? key,
- String? selectedAccountId,
- Widget itemBuilder(
- BuildContext,
- BankAccount,
- bool isSelected
- Color? backgroundColor,
- BorderRadius? radius,
- Color? handleColor,
- Widget? header,
- EdgeInsetsGeometry? padding,
- double? maxHeightFraction,
- double? rowHeight,
- TextStyle? titleStyle,
- TextStyle? subtitleStyle,
- TextStyle? amountStyle,
- IconData? selectedIcon,
- 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,
});