When I use Share.share
using Flutter share_plus package the app bar disappears and the content of the screen moves up...and it doesn't look very nice.
Anyone knows why that happens?
CodePudding user response:
Try SafeArea around Scaffold widget.
CodePudding user response:
Try this out It works fine for me
final RenderBox box = context.findRenderObject() as RenderBox;
Share.share(shareURL,
subject: title,
sharePositionOrigin: box.localToGlobal(Offset.zero) & box.size);