added contributing.md

This commit is contained in:
Prerak Mann
2020-04-22 14:19:07 +05:30
parent 4ce3f0272a
commit d60098711d
3 changed files with 17 additions and 7 deletions

View File

@@ -102,13 +102,11 @@ class _MyBodyState extends State<Body> {
child: Text("checkLocationEnabled"),
onPressed: () async {
if (await Nearby().checkLocationEnabled()) {
Scaffold.of(context).showSnackBar(SnackBar(
content:
Text("Location is ON :)")));
Scaffold.of(context).showSnackBar(
SnackBar(content: Text("Location is ON :)")));
} else {
Scaffold.of(context).showSnackBar(SnackBar(
content: Text(
"Location is OFF :(")));
Scaffold.of(context).showSnackBar(
SnackBar(content: Text("Location is OFF :(")));
}
},
),