smooth_compass_plus 0.0.4 smooth_compass_plus: ^0.0.4 copied to clipboard
updated version of smooth compass with animated rotation and custom widgets support for both(android and ios)
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add smooth_compass_plus
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
smooth_compass_plus: ^0.0.4
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:smooth_compass_plus/utils/smooth_compass_plus.dart';
import 'package:smooth_compass_plus/utils/src/compass.dart';
import 'package:smooth_compass_plus/utils/src/compass_ui.dart';
import 'package:smooth_compass_plus/utils/src/qibla_utils.dart';
import 'package:smooth_compass_plus/utils/src/widgets/error_widget.dart';