forked from eatvio/eatvio_app
feat: consultants rating
This commit is contained in:
@@ -128,10 +128,12 @@ class _MyDietWidgetState extends State<MyDietWidget> {
|
||||
SizedBox(width: 6),
|
||||
CustomOutlinedButton(
|
||||
onPressed: () async {
|
||||
final box = context.findRenderObject() as RenderBox?;
|
||||
await Share.shareUri(
|
||||
Uri.parse(
|
||||
baseUrl + '/ru/diet/' + widget.diet.id.toString(),
|
||||
),
|
||||
sharePositionOrigin: box!.localToGlobal(Offset.zero) & box.size,
|
||||
);
|
||||
},
|
||||
height: 52,
|
||||
|
||||
Reference in New Issue
Block a user