Better share of our app link
This commit is contained in:
parent
3253c429ab
commit
8ae3c1a255
1 changed files with 2 additions and 2 deletions
|
|
@ -2,6 +2,7 @@ import 'package:comunes_flutter/comunes_flutter.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:launch_review/launch_review.dart';
|
import 'package:launch_review/launch_review.dart';
|
||||||
import 'package:url_launcher/url_launcher.dart';
|
import 'package:url_launcher/url_launcher.dart';
|
||||||
|
import 'package:share/share.dart';
|
||||||
|
|
||||||
import 'generated/i18n.dart';
|
import 'generated/i18n.dart';
|
||||||
import 'mainDrawer.dart';
|
import 'mainDrawer.dart';
|
||||||
|
|
@ -36,8 +37,7 @@ class _SupportPageState extends State<SupportPage> {
|
||||||
icon: const Icon(Icons.share),
|
icon: const Icon(Icons.share),
|
||||||
label: new Text(S.of(context).shareAppBtn),
|
label: new Text(S.of(context).shareAppBtn),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
launch(
|
Share.share('https://play.google.com/store/apps/details?id=org.comunes.fires');
|
||||||
"https://play.google.com/store/apps/details?id=org.comunes.fires");
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue