flutter-reaction-button icon indicating copy to clipboard operation
flutter-reaction-button copied to clipboard

Pos of reaction-button is wrong on iPad

Open bartonhammond opened this issue 5 years ago • 1 comments

In the image I am using the Like on the far right column. Same thing happens if in the far left column - the button always shows in the center

Here's my code:

 Builder(
                    builder: (BuildContext c) {
                      return FlutterReactionButtonCheck(
                        key: Key('reaction-${widget.story['id']}'),
                        onReactionChanged: (reaction, isChecked) async {
reactions: react.reactions,
                        initialReaction: widget.story['reactions'].length == 1
                            ? react.reactions[reactionTypes
                                .indexOf(widget.story['reactions'][0]['type'])]
                            : react.defaultInitialReaction,
                        selectedReaction: react.defaultInitialReaction,
                      );
                    },
                  ),
....

iPadMFV

bartonhammond avatar Nov 03 '20 18:11 bartonhammond

@bartonhammond please check the latest version.

flutter_reaction_button: ^2.0.0

GeekAbdelouahed avatar Oct 30 '21 08:10 GeekAbdelouahed