Skip to content

Commit

Permalink
fix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Jul 9, 2023
1 parent accbccd commit 997c8b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/location/example/lib/change_settings.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:location/location.dart';

Expand Down
8 changes: 4 additions & 4 deletions packages/location/example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:location/location.dart';
import 'package:location_example/change_settings.dart';
Expand All @@ -11,6 +10,8 @@ import 'listen_location.dart';
import 'permission_status.dart';
import 'service_enabled.dart';

const _url = 'https://github.com/Lyokone/flutterlocation';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
Expand Down Expand Up @@ -50,13 +51,12 @@ class _MyHomePageState extends State<MyHomePage> {
const Text('Created by Guillaume Bernos'),
InkWell(
child: const Text(
'https://github.com/Lyokone/flutterlocation',
_url,
style: TextStyle(
decoration: TextDecoration.underline,
),
),
onTap: () =>
launch('https://github.com/Lyokone/flutterlocation'),
onTap: () => launchUrl(Uri.parse(_url)),
),
],
),
Expand Down

0 comments on commit 997c8b6

Please sign in to comment.