forked from eatvio/eatvio_app
fix: analyzer
This commit is contained in:
@@ -138,11 +138,11 @@ class _MyPlanWidgetState extends State<MyPlanWidget> {
|
||||
CustomOutlinedButton(
|
||||
onPressed: () async {
|
||||
final box = context.findRenderObject() as RenderBox?;
|
||||
await Share.shareUri(
|
||||
Uri.parse(
|
||||
'$baseUrl/ru/plan/${widget.plan.id}',
|
||||
await SharePlus.instance.share(
|
||||
ShareParams(
|
||||
uri: Uri.parse('$baseUrl/ru/plan/${widget.plan.id}'),
|
||||
sharePositionOrigin: box!.localToGlobal(Offset.zero) & box.size,
|
||||
),
|
||||
sharePositionOrigin: box!.localToGlobal(Offset.zero) & box.size,
|
||||
);
|
||||
},
|
||||
height: 52,
|
||||
|
||||
Reference in New Issue
Block a user