use_location 0.0.1 copy "use_location: ^0.0.1" to clipboard
use_location: ^0.0.1 copied to clipboard

outdated

A new flutter plugin project.

Pub

Use Location #

  • Uses google play services to enable location services using dialog box if available.
  • Automatically opens app settings and location settings to enable location and grant permissions.
  • All using a single method, that requires writing no logic by the user.
import 'package:use_location/use_location.dart';


var status = await UseLocation.useLocation(
  showEnableRationale: () async {
    return await showYesNoDialog(
      context,
      "Please enable location to continue.",
    );
  },
  showPermissionRationale: () async {
    return await showYesNoDialog(
      context,
      "Please grant location permission to continue.",
    );
  },
);
1
likes
0
pub points
40%
popularity

Publisher

unverified uploader

A new flutter plugin project.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, plugin_scaffold

More

Packages that depend on use_location