feat: consultants rating

This commit is contained in:
Alex
2025-01-22 15:27:10 +03:00
parent 18c2419bcc
commit c4abd333e7
52 changed files with 3104 additions and 2110 deletions

View File

@@ -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,