0 purchases
reaction button
Features #
Customizable Reaction button to build social media application.
Usage #
ReactionButton(
selectedReaction: postModel.selectedReaction,
onChangedReaction: (reaction) {
setState(() {
postModel.selectedReaction = reaction;
});
},
placeHolder: ReactionModel(
value: 'like',
initialView: const Image(
width: 32,
image: AssetImage(AppAssets.LIKE_ACTION_ICON),
),
selectedView: const Row(
children: [
Image(
width: 32,
image: AssetImage(AppAssets.LIKE_ICON),
),
Text('Like'),
],
),
),
reactions: reactions,
)
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.