BankWatchlistCard constructor
const
BankWatchlistCard({
- required AssetQuote quote,
- Key? key,
- bool isWatched = true,
- VoidCallback? onToggleWatch,
- VoidCallback? onTap,
- EdgeInsetsGeometry? padding,
- BorderRadius? radius,
- Color? backgroundColor,
- double? elevation,
- Widget? leading,
- TextStyle? titleStyle,
- TextStyle? subtitleStyle,
- TextStyle? amountStyle,
- Color? gainColor,
- Color? lossColor,
- IconData? watchedIcon,
- IconData? unwatchedIcon,
- Color? watchedColor,
- String removeFromWatchlistLabel = 'Remove from watchlist',
- String addToWatchlistLabel = 'Add to watchlist',
Implementation
const BankWatchlistCard({
required this.quote,
super.key,
this.isWatched = true,
this.onToggleWatch,
this.onTap,
this.padding,
this.radius,
this.backgroundColor,
this.elevation,
this.leading,
this.titleStyle,
this.subtitleStyle,
this.amountStyle,
this.gainColor,
this.lossColor,
this.watchedIcon,
this.unwatchedIcon,
this.watchedColor,
this.removeFromWatchlistLabel = 'Remove from watchlist',
this.addToWatchlistLabel = 'Add to watchlist',
});