ReadyLikeButton.solid constructor
const
ReadyLikeButton.solid({
- Key? key,
- Future<
bool?> onTap(- bool isLiked
- double iconSize = 26,
- Color? color,
- Color? iconColor,
- IconData solidIcon = Icons.favorite,
- IconData outlineIcon = Icons.favorite_border,
- bool isLiked = false,
- Color? borderColor,
- double borderRadius = 8,
- double borderWidth = 1,
- ReadyButtonSize size = ReadyButtonSize.medium,
Implementation
const ReadyLikeButton.solid({
Key? key,
this.onTap,
this.iconSize = 26,
this.color,
this.iconColor,
this.solidIcon = Icons.favorite,
this.outlineIcon = Icons.favorite_border,
this.isLiked = false,
this.borderColor,
this.borderRadius = 8,
this.borderWidth = 1,
this.size = ReadyButtonSize.medium,
}) : _style = _LikeButtonStyle.solid,
super(key: key);