FlutterFeedReaction constructor
FlutterFeedReaction({
- required List<
FeedReaction> reactions, - required Widget prefix,
- required dynamic onReactionSelected(),
- required double dragSpace,
- required dynamic onPressed(),
- double dragStart = 40.0,
- Widget? suffix,
- double spacing = 10.0,
- double containerWidth = 300.0,
- Alignment childAnchor = Alignment.topLeft,
- Alignment portalAnchor = Alignment.bottomLeft,
- BoxDecoration? containerDecoration,
Implementation
FlutterFeedReaction({
required this.reactions,
required this.prefix,
required this.onReactionSelected,
required this.dragSpace,
required this.onPressed,
this.dragStart = 40.0,
this.suffix,
this.spacing = 10.0,
this.containerWidth = 300.0,
this.childAnchor = Alignment.topLeft,
this.portalAnchor = Alignment.bottomLeft,
this.containerDecoration,
});